From 7d0ef83d3f758ba20c7120ff27d826de99bfd303 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 21 Oct 2023 20:26:50 -0500 Subject: [PATCH] Update get-snapshots.ps1 --- esxi-scripts/get-snapshots.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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