- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What is in $global:DefaultVIServers before you start your script?
Perhaps do a Disconnect-VIServer -Server * -Confirm:$false at the start of the script.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference