Question

Using VMWare PowerCLI, how can I set a snapshot of a VM without getting the confirmation prompt?

Get-Snapshot -VM VM -Name 'snapshotname'
Was it helpful?

Solution

Get-Snapshot -VM VM -Name 'snapshotname' -confirm:$false
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top