Powercli: Difference between revisions
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
<pre>new-snapshot -vm <vm_name> -name snapshot_test</pre> | <pre>new-snapshot -vm <vm_name> -name snapshot_test</pre> | ||
===Remove snapshot=== | |||
<pre>get-snapshot -vm <vm_name> | remove-snapshot</pre> | <pre>get-snapshot -vm <vm_name> | remove-snapshot</pre> |
Revision as of 09:03, 15 March 2019
Powercli
Useful Commands
Update vmTools with no reboot
Get-VM "<vm_name>" | Update-Tools -NoReboot
Create snapshot
new-snapshot -vm <vm_name> -name snapshot_test
Remove snapshot
get-snapshot -vm <vm_name> | remove-snapshot