Quick Actions
Get-ADComputer
Description
Gets one or more Active Directory computers.
Command
Get-ADComputer
Examples
Get a specific computer object
Get-ADComputer -Identity 'SERVER01'
Get all computers with 'server' in their name
Get-ADComputer -Filter 'Name -like "*server*"'
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
-Identity <ADComputer> |
string | No | Specifies an Active Directory computer object. |
-Filter <String> |
string | No | Specifies a query string that retrieves Active Directory objects. |
-Properties <String[]> |
string | No | Specifies the properties of the returned object to retrieve from the server. |
Command Info
Category:
Computer Management
Type:
Windows_ad
Views:
12
Status:
Active
Tags
ad
powershell
computer
query
get