Microsoft Virtualization Discussions

No output running Get-NtapClusterData

cfrank
3,314 Views

Hi all,

 

Is this an error I am getting below? A popup box comes up and I enter the credentials but nothing returns.

PS C:\Program Files (x86)\NetApp\NetAppDocs PowerShell Module\NetAppDocs> .\Get-

NtapClusterData -Name nnycacdot -Credential $(Get-Credential) -verbose

 

cmdlet Get-Credential at command pipeline position 1

Supply values for the following parameters:

Credential

PS C:\Program Files (x86)\NetApp\NetAppDocs PowerShell Module\NetAppDocs>

 

I have enabled debug mode and I can run Get-NcSystemVersion successfully. I get plenty of debug output. This has nothing other than what’s above.

 

TIA,

Frank

3 REPLIES 3

asulliva
3,308 Views

I don't think you need the $ before the parenthesis for the Get-Credential call...

 

Get-NtapClusterData -Name nnycacdot -Credential (Get-Credential) -Verbose

 

Andrew

If this post resolved your issue, please help others by selecting ACCEPT AS SOLUTION or adding a KUDO.

cfrank
3,303 Views

Thanks for the quick reply. That made no difference.

asulliva
3,301 Views

lol, sorry that didn't help : )

 

I'll do some testing this evening (afternoon full of meetings) and see if I can find something.

 

Andrew

If this post resolved your issue, please help others by selecting ACCEPT AS SOLUTION or adding a KUDO.
Public