I want to add a function that can retrieve the Site of a AD Computer. The GetADComputer cmdlet allows us to find computer objects in the Active Directory and extract information from them.I provide a complete script to create sites in Active Directory with a CSVfile. The article includes detailed explanation, screenshots and examples. The Get-ADComputer cmdlet gets a computer or performs a search to retrieve multiple computers. This topic explains the AD DS replication and topology management cmdlets in more detail, and provides additional examples. The GetADObject cmdlet allows us to find objects in the Active Directory and extract information from them. You can join domain to specific OU using PowerShell cmdlet AddComputer . I am trying to get the following information through Powershell on my AD: OS, OS Version, OS Architecture (32 or 64 bit), RAM, and space left on C Drive. This guide covers the basics of how domain controllers (DCs) replicate all of your user accounts, passwords, computers, and other objects in your environment.