This one-liner makes use of the pipeline to get VMs in a given datacenter and update their VMware Tools version to the most current supported by the ESXi host.
The task: merge the members of Active Directory groups into a group called “RingCentral – Access.” The group “RingCentral – Access” already exists and contains valid members. Each member is an Active Directory user object.
The UserAccountControl value is a 4-byte integer that represents flags on an object in Active Directory. When querying the full set of properties of an object using PowerShell, the value of UserAccountControl can be examined and interpreted to determine additional properties of the object.