Solved

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

Posted on 2010-11-12
7
1,374 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
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 
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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

This article will help you understand what HashTables are and how to use them in PowerShell.
This article describes my battle tested process for setting up delegation. I use this process anywhere that I need to setup delegation. In the article I will show how it applies to Active Directory
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 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 …

860 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