Microsoft Virtualization Discussions
Microsoft Virtualization Discussions
When trying to run NetappDocs against a cDOT array the script returns the below error. I'm able to SSH in via putty.
PS C:\Users\t15jr5p> Get-NtapClusterData -Name '10.72.66.82' -Credential (Get-Credential) -Verbose | Format-NtapClusterData -Verbose | Out-NtapDocument -WordFile 'c:\temp\nyl_ntapclus_lab01.Docx' -ExcelFile 'C:\temp\nyl_ntapclus_lab01.xlsx' -Verbose
cmdlet Get-Credential at command pipeline position 1
Supply values for the following parameters:
Credential
VERBOSE: Validating connectivity to system: 10.72.66.82
VERBOSE: Using supplied credentials
VERBOSE: Trying HTTP/HTTPS
Get-NtapClusterData : Unable to gather data from system: 10.72.66.82. Reason: Incorrect credentials for 10.72.66.82..
At line:1 char:20
+ Get-NtapClusterData <<<< -Name '10.72.66.82' -Credential (Get-Credential) -Verbose | Format-NtapClusterData -Verbose
| Out-NtapDocument -WordFile 'c:\temp\nyl_ntapclus_lab01.Docx' -ExcelFile 'C:\temp\nyl_ntapclus_lab01.xlsx' -Verbose
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Get-NtapClusterData
WARNING: Empty dataset found so document generation not possible
Solved! See The Solution
For powershell to work in cdot, you need to create a security login access to ontapi.
Also, ensure your domain-tunnel is working in 8.3 if you are using domain authentication
For powershell to work in cdot, you need to create a security login access to ontapi.
Also, ensure your domain-tunnel is working in 8.3 if you are using domain authentication
Hi, I'm using version 4.1 with an cDOT 8.3.1 and the cmdlet "Get-NtapClusterData" does not exist.
(Get-NtapClusterData : The term 'Get-NtapClusterData' is not recognized as the name of a cmdlet, function, script file,.....)
Is this some kind of addon? Where can I get it?
Thanks!
Hello!
You'll want to start a new topic for new questions in the future...it usually leads to much better visiblity and faster responses.
That being said, I beleive that cmdlet is a part of the NetAppDocs package, avaialable from the toolchest here.
Hope that helps.
Andrew