Powercli: Difference between revisions
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
<pre>Get-VM "<vm_name>" | Update-Tools -NoReboot</pre> | <pre>Get-VM "<vm_name>" | Update-Tools -NoReboot</pre> | ||
=== | ===Create snapshot=== | ||
<pre>new-snapshot -vm <vm_name> -name snapshot_test</pre> | |||
====Remove snapshot==== | |||
<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