BRONZE PARTNER:
BRONZE PARTNER:
Industry News:

| |
 |
 |
 |
| PowerShell one liner to query servers in AD |
 |
|
|
By: Ying Li
Posted On: 10/30/2008
Let's say you want to query all the servers in AD, here is a PowerShell one liner to do it, you need to have Quest PowerShell commands for Active Directory installed of course.
This article was Previously posted on Ying Li's Blog
Get-QADComputer -sizelimit 0 -OSName '*server*'|export-csv Servers.csv
You could limit the search to a particular OU by using the -searchroot switch.
|
 |
 |
 |
|
|