Checking Changed Block Tracking on VMs with VMware PowerCLI

I recently had the need to check all VMs in a client's environment for Changed Block Tracking (CBT). To perform this check I used the following VMware PowerCLI command:

Get-VM | %{ Get-View $_ | Select Name,@{n="CBTEnabled";e={$_.config.ChangeTrackingEnabled}}}

results for ""

    No results matching ""