Difference between revisions of "Script Extracts and Examples (PowerCLI)"
Jump to navigation
Jump to search
(Added examples to "Getting Started") |
m (Formatting correction) |
||
Line 98: | Line 98: | ||
! Command !! Description | ! Command !! Description | ||
|- | |- | ||
| <code> get-vm </code> | | <code> get-vm </code> | ||
| Get list of VM's | |||
|- | |- | ||
| <code> get-vm | sort -property Name </code> | | <code> get-vm <nowiki>|</nowiki> sort -property Name </code> | ||
| Get list of VM's, sorted by name | |||
|- | |- | ||
| <code> get-vmguest -VM (get-vm -name "winstg") </code> | | <code> get-vmguest -VM (get-vm -name "winstg") </code> | ||
| Get VM guest info (IP address, OS) | |||
|} | |} |