Created
March 4, 2015 08:51
-
-
Save Pyromaniaxxx/851f4287c9cf1706216c to your computer and use it in GitHub Desktop.
SCVMMで管理している全てのホストにいる仮想マシンの一覧作成的なアレ
This file contains 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
#参考 | |
Import-Module -Name virtualmachinemanager | |
$Hostname = "<<HostName>>" | |
Get-SCVMHost -VMMServer $Hostname |ForEach-Object {$_.VMs }|Select-Object Name,VMHost,Cloud,VMAddition | |
Get-SCVMHost -VMMServer $Hostname |ForEach-Object {$_.VMs }|Select-Object Name,VMHost,Cloud,VMAddition|OGV | |
Get-SCVMHost -VMMServer $Hostname |ForEach-Object {$_.VMs }|Select-Object Name,VMHost,Cloud,VMAddition,VMCPath|FT | |
Get-SCVMHost -VMMServer $Hostname |ForEach-Object {$_.VMs }|Select-Object Name,VMHost,Cloud,VMAddition,VMCPath|OGV |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment