I want to add a function that can retrieve the Site of a AD Computer. The Get-ADComputer cmdlet gets a computer or performs a search to retrieve multiple computers.Learn, how to list all Active Directory servers using PowerShell, and how ADManager Plus effortlessly lists all the servers in Active Directory. There are a few ways to get the site a computer is a member of. You will have to use the Get-ADComputer cmdlet, and use the right parameters and filters to get the desired list of AD computer accounts. The GetADComputer cmdlet retrieves the default set of computer object properties. Use the Properties parameter to retrieve more properties. I'm trying badly to add multiple existing computer accounts to an AD group and i've tried the following syntax's but none worked. Navigate to Active Directory Users and Computers in your Start menu 2. Use PowerShell to get the AD Site and Subnet of a Windows computer.