Solved

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

Posted on 2010-11-12
7
1,377 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
ID: 34123595
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
ID: 34124146
The command you would want to use in

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

Author Comment

by:certuran
ID: 34124497
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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 35

Expert Comment

by:Joseph Daly
ID: 34124523
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
ID: 34124652
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
ID: 34125361
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
ID: 34128097
I will discover about adfind more. thanks.
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A company’s centralized system that manages user data, security, and distributed resources is often a focus of criminal attention. Active Directory (AD) is no exception. In truth, it’s even more likely to be targeted due to the number of companies …
Active Directory security has been a hot topic of late, and for good reason. With 90% of the world’s organization using this system to manage access to all parts of their IT infrastructure, knowing how to protect against threats and keep vulnerabil…
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…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

679 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