Microsoft Virtualization Discussions

Let me ask about Data ONTAP PowerShell Toolkit

Aya
3,222 Views

Hello,

 

I am using PowershellToolkit for the first time.

 

When I tried connection to Filer in "Connect-NaController" cmdlet,

 I was able to be connected to Filer without an option of -cred.

 Why is this?I thought that I am connected as -cred root, but certainly wonder that I have been able to be connected without the certification.

 

Which setting may it connect without credential option if I do it?

2 REPLIES 2

Aparajita
3,162 Views

Hi,

 

When no credentials are provided and there are no cached credentials, an RPC connection is established for Data ONTAP 7-mode filers. The RPC connection does not use a credential object.

 

If you want to use credentials for connection, please use the HTTP/HTTPS switch (according to your preference) or explicitly provide a credential object. 'Connect-NaController <ip> -HTTPS' or 'Connect-NaController <ip> -HTTP' will prompt for credentials.

 

Hope this helps,

Aparajita

Aya
3,099 Views

Thank you very much for your answer.

 

I understood.
I found a using port 445 in filer,when the cmdlet(Connect-NaController) executed.
And,The execution user of the command was the user registered with BUILTIN/Administrators.

 


Kind regards.

Aya

Public