在自定义脚本中、SC open-smconnection成功、但其他cmdlet失败
适用场景
SnapCenter 服务器PowerShell cmdlet
问题描述
在自定义脚本中、SC open-smconnection成功、但其他cmdlet失败并显示错误:
SnapCenter session is not set. Use Open-SmConnection command to establish the session to use commands integrated with SnapCenter.