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.The GetADComputer cmdlet retrieves the default set of computer object properties. Use the Properties parameter to retrieve more properties. There are a few ways to get the site a computer is a member of. 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. You learned how to create Active Directory Users from CSV with PowerShell. First, prepare the CSV file and make sure all the information is filled in. The GetADComputer cmdlet allows us to find computer objects in the Active Directory and extract information from them.