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.
Who is Participating?
Mike KlineConnect With a Mentor Commented:
Take a look at this question I helped with

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

Joseph DalyCommented:
The command you would want to use in

Get-qadcomputer -sizelimit 0 | select-object name, operatingsystem
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?
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Joseph DalyCommented:
The command above is a powershell command but it utilizes the Quest powershell cmdlets.
certuranAuthor Commented:
By the way adfind is great. easy and worked. And solved. :))
Do you have command guide dear mkline71.
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
certuranAuthor Commented:
I will discover about adfind more. thanks.
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.