In a custom script SC open-smconnection succeeds, but further cmdlets fail
- Views:
- 173
- Visibility:
- Public
- Votes:
- 0
- Category:
- snapcenter
- Specialty:
- snapx
- Last Updated:
- 6/3/2022, 3:21:38 PM
Applies to
SnapCenter Server PowerShell cmdlets
Issue
In a custom script SC open-smconnection succeeds, but further cmdlets fail with error:
SnapCenter session is not set. Use Open-SmConnection command to establish the session to use commands integrated with SnapCenter.