I have a simple script that runs snapshots on a host.
Get-VM | New-Snapshot.....
how do I exclude a VM "example-vm" from this list?
You can use a Where-clause