This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
vmware:esx_powercli [2021/11/19 23:50] manu [Commands] |
vmware:esx_powercli [2022/09/20 22:40] (current) manu |
||
|---|---|---|---|
| Line 267: | Line 267: | ||
| </cli> | </cli> | ||
| + | ==== List VM with RAW disks ==== | ||
| + | |||
| + | <cli prompt='>'> | ||
| + | PS1> Get-VM | Get-HardDisk -DiskType "RawPhysical","RawVirtual" | Select Parent,Name,DiskType,ScsiCanonicalName,DeviceName | fl | Out-File –FilePath RDM-list.txt | ||
| + | </cli> | ||
| ===== Commands ===== | ===== Commands ===== | ||
| Line 424: | Line 429: | ||
| To remove a confirmation option, add this at the end of commandlet: | To remove a confirmation option, add this at the end of commandlet: | ||
| + | <code> | ||
| -Confirm:$false | -Confirm:$false | ||
| + | </code> | ||
| For example: | For example: | ||