PowerShell命令Get-SmConfigSettings无法运行
适用场景
- SnapCenter 服务器(SC) 4.6和4.7
- PowerShell ( PS )
问题描述
- PS命令
Get-SmConfigSettings -Server -Key All
无法运行、并显示以下错误:
Get-SmConfigSettings : Object reference not set to an instance of an object.
At line:1 char:1
+ Get-SmConfigSettings -Server -Key All
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Get-SmConfigSettings], NullReferenceException
+ FullyQualifiedErrorId : System.NullReferenceException,SnapManager.Client.PSModule.Commands.GetSmConfigSettingsCo
mmand