From b985fbc1a3e99b7ff54ab356ce56709768a5e4ad Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 21 Oct 2023 23:26:04 -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 13927502..5177326e 100755 --- a/esxi-scripts/get-snapshots.ps1 +++ b/esxi-scripts/get-snapshots.ps1 @@ -6,5 +6,5 @@ Connect-VIServer -Server $args[0] -Protocol https -User $ESXiUsername -Password # Connect-VIServer -Server 10.2.1.11 -Protocol https -User $ESXiUsername -Password $ESXiPassword | Out-Null # get-vm | get-snapshot | where {($_.vm -notlike '*_replica')} | select vm, name, description, created, sizegb -get-vm | get-snapshot | where {($_.vm -notlike '*_replica')} | select vm, name, description, created, sizegb | ConvertTo-Json -Depth 3 +get-vm | get-snapshot | where {($_.vm -notlike '*_replica')} | select vm, name, description, created, sizegb | ConvertTo-Json