Set-SmLogSettings and Get-SmLogSettings -Agent not work for SnapCenter server host without SCW
Applies to
SnapCenter Server
Issue
Set-SmLogSettings
/ Get-SmLogSettings -Agent
for SnapCenter Server host fails with host not found exception
PS C:\Users\administrator.DEMO> Get-SmLogSettings -Agent -HostName sc
Get-SmLogSettings : Host [SC.demo.netapp.com] not found
At line:1 char:1
+ Get-SmLogSettings -Agent -HostName sc
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidResult: (SMCoreContracts...ettingsResponse:SmGetLogSettingsResponse) [Get-SmLogSe
ttings], Exception
+ FullyQualifiedErrorId : GetLogSettings failed on server,SnapManager.Client.PSModule.Commands.GetSmLogSettingsCommand