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 1Supply values for the following parameters:CredentialVERBOSE: Validating connectivity to system: 10.72.66.82VERBOSE: Using supplied credentialsVERBOSE: Trying HTTP/HTTPSGet-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
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
View solution in original post
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?
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.
NetApp Wins One Silver and One Bronze Stevie® Award in 2022 Stevie Awards for Sales and Customer Service
Live Chat, Watch Parties, and More!
Engage digitally throughout the sales process, from product discovery to conﬁguration, and handle all your post-purchase needs.