.. / Get-ADComputer

Gets one or more Active Directory computers


Functions:
Type:
Toolsets:

Domain

Query computers from specific OU

Get-ADComputer -SearchBase "OU=Domain Controllers,DC=ad,DC=bitsadmin,DC=com" -Filter *
Usecase
Query list of domain controllers

Comments
PowerShell Module: ActiveDirectory

Query computers with specific attribute

Get-ADComputer -Filter 'OperatingSystem -like "*Server 2008*"' -Properties OperatingSystem
Usecase
Identify computers running an unsupported operating system

Comments
PowerShell Module: ActiveDirectory




Updated: 2023-07-01
Contributor: Arris Huijgen (bitsadmin)