Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Help with putting together a list of AD computers

$
0
0

I am trying to put together a list of servers on our domain that will list the server name,  description, and the OS version.  I am having trouble adding multiple filters in.  So far i have a list of all my 2008 servers.  Any help is appreciated.

Get-ADComputer -filter {OperatingSystem -like "*2008*} | Select-Object name | export-csv list.csv


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>