Home
Home
About
Contact
Friday, January 5, 2018
Get all vm's with connected CD rom drives
This is a powercli command to get all the vm's with connected cdrom drive.
get-cluster | where {$_.Name -eq "SFColo Test & Dev"} | get-vm | where { $_ | get-cddrive | where { $_.ConnectionState.Connected -eq "true" } } | select Name
No comments:
Post a Comment
Thank you for your comment.
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Thank you for your comment.