diff --git a/esxi-scripts/get-snapshots.ps1 b/esxi-scripts/get-snapshots.ps1 index c1d03b04..21afca20 100755 --- a/esxi-scripts/get-snapshots.ps1 +++ b/esxi-scripts/get-snapshots.ps1 @@ -4,5 +4,5 @@ Connect-VIServer -Server $args[0] -Protocol https -User $ESXiUsername -Password $ESXiPassword | Out-Null -get-vm | get-snapshot | select vm, name, description, created, sizegb +get-vm | get-snapshot | where {($_.name -notlike '_replica')} | select vm, name, description, created, sizegb