#Set the participation to false and ignore invalid certificates for all usersSet-PowerCLIConfiguration-ScopeAllUsers-ParticipateInCeip$false-InvalidCertificateActionIgnore#Connect to our vCenter Server using the logged in credentialsConnect-VIServerPAC-vCSA01
Ignore Invalid Certs:
Set-PowerCLIConfiguration-InvalidCertificateActionIgnore-Confirm:$false
Useful commands:
Get-Task – Shows currently running tasks
Get-VM – Lists all VMs
To list all snapshots and the size they take:
Get-VM | Format-Table Name, @{Label="NumSnapshots";Expression={(Get-Snapshot -VM$_| Measure-Object).Count}}, @{Label="TotalSnapShotSizeMB";Expression={(Get-Snapshot -VM$_| Measure-Object -Sum SizeMB).Sum}}
