Difference between revisions of "Get-adcomputer"

From UVOO Tech Wiki
Jump to navigation Jump to search
(Created page with "Used for searching objects in Active Directory # Getting computer attributes ``` Get-ADComputer -Filter 'Name -like "myhost-name*"' -SearchBase "DC=example,DC=com" -Server dc...")
(No difference)

Revision as of 01:26, 26 January 2021

Used for searching objects in Active Directory

Getting computer attributes

Get-ADComputer -Filter 'Name -like "myhost-name*"' -SearchBase "DC=example,DC=com" -Server dc1.example.com -Properties IPv4Address
Get-ADComputer -Identity "myhost.example.com" -Properties *