Link to home
Start Free TrialLog in
Avatar of certuran
certuranFlag for Türkiye

asked on

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.
ASKER CERTIFIED SOLUTION
Avatar of Mike Kline
Mike Kline
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
The command you would want to use in

Get-qadcomputer -sizelimit 0 | select-object name, operatingsystem
Avatar of certuran

ASKER

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?
The command above is a powershell command but it utilizes the Quest powershell cmdlets.
http://www.quest.com/powershell/activeroles-server.aspx
By the way adfind is great. easy and worked. And solved. :))
Do you have command guide dear mkline71.
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
I will discover about adfind more. thanks.