This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
program_lang:powershell_powercli_misc [2025/10/13 14:27] manu |
program_lang:powershell_powercli_misc [2025/10/13 22:55] (current) manu [List VMFS] |
||
|---|---|---|---|
| Line 49: | Line 49: | ||
| exit $RC | exit $RC | ||
| + | </cli> | ||
| + | <cli prompt='>'> | ||
| + | PS /inventory/scripts> cat /inventory/list_vm.csv | ||
| + | "Name","PowerState","Cluster","NumCpu","MemoryGB","CreateDate","Configured_OS","Running_OS","IPAdress" | ||
| + | "Win1100","PoweredOn","WIN","4","16","10/10/2025 09:01:16","Microsoft Windows 11 (64-bit)",,"" | ||
| + | "deb001","PoweredOn","LNX","1","2","01/01/1970 00:00:00","Debian GNU/Linux 10 (64-bit)","Debian GNU/Linux 9 (64-bit)","10.10.10.10 fe80::223:56ff:fe9a:a535" | ||
| </cli> | </cli> | ||
| Line 90: | Line 96: | ||
| ... | ... | ||
| </cli> | </cli> | ||
| + | |||
| + | ===== Misc commands ===== | ||
| + | |||
| + | get-vm | Select Name, UsedSpaceGB, ProvisionedSpaceGB | ||
| + | |||