Power shell script to check dedup status

Deduplication and compression:  How to check if vSan cluster has dedup enabled, though there are many ways to check it, I would show two ways here: From vCenter GUI: Login to vCenter using web client or HTML client , navigate to cluster > Manage > settings > Virtual San > General Deduplication and Compression

Manage snapshots using powershell

Snapshots:   Connect to VC using any of the below commands Connect-VIServer <vc name>  or Connect-VIServer <vc name> -user <username> -password <password> How to take snapshot using powershell? Here is the example I am using to take memory snapshot for a specific vm: get-vm <vm name> | New-Snapshot -Name "snapshot Test" -Description "Taken today" -Memory If you have a