Commit bb4daf98 authored by Lonlone Lee's avatar Lonlone Lee

Removed the Disconnect vCenter prompt and added a 60-sec sleep before closing the window

parent 5f0e6194
......@@ -5,4 +5,6 @@ Connect-VIServer -Server pgvcenter.stanford.edu
Get-VM | Get-Snapshot | Select vm,name,description,created,sizegb | Export-Csv -Path C:\temp\GetSnapshots.csv -NoTypeInformation -UseCulture
Disconnect-VIServer -Server pgvcenter.stanford.edu
\ No newline at end of file
Disconnect-VIServer -Server pgvcenter.stanford.edu -Confirm:$false
Start-Sleep -s 60
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment