Created
December 19, 2015 07:59
-
-
Save Pyromaniaxxx/6d0ddb169596ab6ca5ed to your computer and use it in GitHub Desktop.
ISOをマウントしているVMの一覧を取得する
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
# SCVMM LibraryのISOを FileShareでmountしていると ライブラリ更新時に「iso を更新できません。ファイルは別のプロセスによって使用されています。」 | |
# と表示されるが、実際どのVMがmountしているかわからないので、ISOをmountしているVMの一覧を抽出する | |
Get-SCVirtualMachine | ? {$_.VirtualDVDDrives.ISOId -ne $null} | SELECT NAME |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment