Solved

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

Posted on 2010-11-12
7
1,367 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
This article outlines the process to identify and resolve account lockout in an Active Directory environment.
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…

803 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