- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Updated:
I closed the powercli prompt and re-run the script, it seems to be working (with or without the continue statement). It seems like it happens when it has previous connection to the VCs. If I open a new powercli prompt, I don't get the error. I have a line to disconnect-viserver, does it not working? Is there a way to cleanly clear all VC session?