Solved

CMDlet

Posted on 2013-01-28
3
347 Views
Last Modified: 2013-02-07
Get-QADComputer -sizelimit 0 -OSName ‘*server*’|export-csv Servers.csv
I am trying the above cmd at my windows7 PC and i get this error

"The term 'Get-QADComputer' is not recognized as the name of a cmdlet, function, script file
0
Comment
Question by:pdsmicro
3 Comments
 
LVL 39

Expert Comment

by:als315
ID: 38827731
"Qxxx" - are powershell commands from quest software. You should install free ActiveRoles Management Shell for Active Directory:
http://www.quest.com/powershell/activeroles-server.aspx
0
 
LVL 5

Accepted Solution

by:
coraxal earned 500 total points
ID: 38829128
Like als315 pointed out, you'd have to use the Quest cmdlets to use the command you have.  However, if you have the Active-Directory module then you can use the Get-ADComputer cmdlet
Get-ADComputer -ResultSetSize $null -Properties operatingsystem -ldapfilter "(operatingsystem=*server*)" |
	Select-Object Name,@{Name="OS";Expression={$_.OperatingSystem}} |
	Export C:\Temp\Servers.csv -NoType

Open in new window

0
 

Author Closing Comment

by:pdsmicro
ID: 38865529
thanks
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Hi all.   The other day I had to change the passwords for a bunch of users on the fly. Because they were so many, I decided to do it in an automated way and I would like to share it with you all.   If you are not doing it directly in a Domain Co…
This article will help you understand what HashTables are and how to use them in PowerShell.
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

747 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

13 Experts available now in Live!

Get 1:1 Help Now