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.One way to get the information is to query the DynamicSiteName registry value of the remote machine. Learn, how to list all Active Directory servers using PowerShell, and how ADManager Plus effortlessly lists all the servers in Active Directory. 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. This cmdlet is available only in on-premises Exchange. Use the Get-AdSite cmdlet to display configuration information about one or more Active Directory sites. Master Active Directory with Course 55152A San Antonio.