Update get-snapshots.ps1
This commit is contained in:
1 parent
60b8f60c26
commit
acfaaf7ba5
1 file changed
+2
-1
@@ -3,6 +3,7 @@
|
||||
. /opt/idssys/powerwall/settings.ps1
|
||||
|
||||
Connect-VIServer -Server $args[0] -Protocol https -User $ESXiUsername -Password $ESXiPassword | Out-Null
|
||||
# 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
|
||||
|
||||
Reference in new issue
Block a user