Get-Snapshot -VM VM -Name 'snapshotname' -confirm:$false
VMware Powercli Get-Snapshot
-
29-06-2022 - |
Question
Using VMWare PowerCLI, how can I set a snapshot of a VM without getting the confirmation prompt?
Get-Snapshot -VM VM -Name 'snapshotname'
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow