Discuss NetApp solutions for Microsoft Private Cloud and the Hyper-V platform, including FlexPod Datacenter, OnCommand Plug-in for Microsoft, and ONTAP PowerShell Toolkit.
Discuss NetApp solutions for Microsoft Private Cloud and the Hyper-V platform, including FlexPod Datacenter, OnCommand Plug-in for Microsoft, and ONTAP PowerShell Toolkit.
PS C:\Windows\system32> Connect-NcController 192.168.0.111 Name Address Vserver Version ---- ------- ------- ------- 192.168.0.111 192.168.0.111 NetApp Release Clawhammer__9.14.1: Tue Mar 19 18:52:51 U... PS C:\Windows\system32> Invoke-NcCli Invoke-NcCli : The term 'Invoke-NcCli' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + Invoke-NcCli + ~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (Invoke-NcCli:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException but according to the documentation: "Can I send CLI commands to the controller from PSTK? Yes. Use the cmdlet: Invoke-NcSSH, Invoke-NcCli " from NetApp PowerShell Toolkit 9.15.1.2407 Installation Guide taken from https://mysupport.netapp.com/site/tools/tool-eula/ontap-powershell-toolkit/download
... View more
when using the PSToolkit provided with SnapCenter, I very often get this error when importing the DataOntap.C.dll module under the PSTOOLKIT: PS C:\Windows\system32> Import-Module "C:\Program Files\NetApp\SMCore\SAL\PSToolkit\DataONTAP.C.dll" Import-Module : Could not load file or assembly 'Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified. At line:1 char:1 + Import-Module "C:\Program Files\NetApp\SMCore\SAL\PSToolkit\DataONTAP ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Import-Module], FileNotFoundException + FullyQualifiedErrorId : System.IO.FileNotFoundException,Microsoft.PowerShell.Commands.ImportModuleCommand PS C:\Windows\system32> $PSVersiontable Name Value ---- ----- PSVersion 5.1.17763.5122 PSEdition Desktop PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...} BuildVersion 10.0.17763.5122 CLRVersion 4.0.30319.42000 WSManStackVersion 3.0 PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1 PS C:\Windows\system32> there is no newtonsoft in the PSTOOLKIT directory. I even tried to grab the file from the smcore directtory but that does not change anything either. I am trying this in the LAB but customers hit same issues. in some lab it works though. I suppose different versions. but how do I tackle this problem for good when I hit it? without reinstalling .Net or anything disruptive like that please, as I would give same piece of advice to customers. it would be nice to know. Domenico.
... View more
I user the get-ncperfdata to get ops data from a disk but the value/unit seems weird it's seems like the disk total ops after boot, how to make it correct ?
... View more
Hi I try to get performance from powershell command [Get-NcPerfData] but the [-instance] parameter seems must inupt, What's -instance parameter's value? Thanks
... View more