Avatar of certuran
certuran
Flag for Turkey 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.
PowershellActive DirectoryMicrosoft Legacy OS

Avatar of undefined
Last Comment
certuran

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Mike Kline

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Joseph Daly

The command you would want to use in

Get-qadcomputer -sizelimit 0 | select-object name, operatingsystem
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?
Joseph Daly

The command above is a powershell command but it utilizes the Quest powershell cmdlets.
http://www.quest.com/powershell/activeroles-server.aspx
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
certuran

ASKER
By the way adfind is great. easy and worked. And solved. :))
Do you have command guide dear mkline71.
Mike Kline

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
certuran

ASKER
I will discover about adfind more. thanks.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.