Solved

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

Posted on 2010-11-12
7
1,366 Views
Last Modified: 2012-05-10
I want to list Operating Systems of all Computers in Active Directory using PowerShell. Could you provide an exact script for it.
0
Comment
Question by:certuran
  • 3
  • 2
  • 2
7 Comments
 
LVL 57

Accepted Solution

by:
Mike Kline earned 250 total points
Comment Utility
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
 
LVL 35

Expert Comment

by:Joseph Daly
Comment Utility
The command you would want to use in

Get-qadcomputer -sizelimit 0 | select-object name, operatingsystem
0
 

Author Comment

by:certuran
Comment Utility
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
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 35

Expert Comment

by:Joseph Daly
Comment Utility
The command above is a powershell command but it utilizes the Quest powershell cmdlets.
http://www.quest.com/powershell/activeroles-server.aspx
0
 

Author Comment

by:certuran
Comment Utility
By the way adfind is great. easy and worked. And solved. :))
Do you have command guide dear mkline71.
0
 
LVL 57

Expert Comment

by:Mike Kline
Comment Utility
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
 

Author Closing Comment

by:certuran
Comment Utility
I will discover about adfind more. thanks.
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
A procedure for exporting installed hotfix details of remote computers using powershell
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now