How can I List Active Directory Computers' operating system property using Powershell

I want to list Operating Systems of all Computers in Active Directory using PowerShell. Could you provide an exact script for it.
certuranAsked:
Who is Participating?
 
Mike KlineConnect With a Mentor Commented:
Take a look at this question I helped with

http://www.experts-exchange.com/Programming/Languages/Scripting/Powershell/Q_26194877.html

I used adfind in my example but you can see that Chris used the Quest powershell cmdlets.

You can also see example 4 in the get-qacomputer help   http://wiki.powergui.org/index.php/Get-QADComputer#EXAMPLE_1

Thanks
Mike
0
 
Joseph DalyCommented:
The command you would want to use in

Get-qadcomputer -sizelimit 0 | select-object name, operatingsystem
0
 
certuranAuthor Commented:
This command "Get-qadcomputer -sizelimit 0 | select-object name, operatingsystem" did not give any result. What is Output file name?
And how can i pause the cmd mode in powershell?
By the way, the command you wrote above dear xxdcmast is a powershell command?
0
Worried about phishing attacks?

90% of attacks start with a phish. It’s critical that IT admins and MSSPs have the right security in place to protect their end users from these phishing attacks. Check out our latest feature brief for tips and tricks to keep your employees off a hackers line!

 
Joseph DalyCommented:
The command above is a powershell command but it utilizes the Quest powershell cmdlets.
http://www.quest.com/powershell/activeroles-server.aspx
0
 
certuranAuthor Commented:
By the way adfind is great. easy and worked. And solved. :))
Do you have command guide dear mkline71.
0
 
Mike KlineCommented:
a command guide for adfind?   Not really but look through the adfind help also he has a ton of great shortcuts

adfind -sc /? to see all those
0
 
certuranAuthor Commented:
I will discover about adfind more. thanks.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.