Skip to content

Instantly share code, notes, and snippets.

@suusan2go
Created January 12, 2015 08:46
Embed
What would you like to do?
$server = Connect-VIServer -Server Your_vCenter_Server -User administrator -Password your_password
#VM一覧の取得
Get-VM
#データストア一覧の取得
Get-Datastore
#スナップショット一覧の取得
Get-VM | Get-Snapshot
Disconnect-VIServer -Server $server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment