Using VMWare PowerCLI, how can I set a snapshot of a VM without getting the confirmation prompt?
Get-Snapshot -VM VM -Name 'snapshotname'
Get-Snapshot -VM VM -Name 'snapshotname' -confirm:$false