NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

Microsoft Virtualization Discussions

Let me ask about Data ONTAP PowerShell Toolkit

Aya
4,023 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,963 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,900 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