# https://virtualizationnation.com/2017/02/06/snapshot-removal-powercli/
$Authorization = Get-Credential -Message "Virtual Center Login, use your AD Admin account."
Connect-VIServer -Server abcvcenter.com -AllLinked -Credential $Authorization
# $vmlist = Get-Content C:\Servers.txt
#New-Snapshot -VM $vmlist -Name NameOfSnsphot -Description DescriptionOfSnapshot.
New-Snapshot -VM $vmlist -Name NameOfSnsphot -Description DescriptionOfSnapshot.
New-Snapshot -VM servername -Name "Server Snapshot" -Description "Server Snaphot"
# $vmlist = Get-Content C:\Servers.txt
# Get-VM $vmlist | Get-Snapshot | Remove-Snapshot -Confirm:$false
To remove the snapshots
Get-VM servername | Get-Snapshot | Remove-Snapshot -Confirm:$false -RemoveChildren