Created
January 12, 2015 08:46
-
-
Save suusan2go/f9d0e36afcabd17131ad to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$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