?
Solved

CMDlet

Posted on 2013-01-28
3
Medium Priority
?
364 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 40

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 2000 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

Ransomware Attacks Keeping You Up at Night?

Will your organization be ransomware's next victim?  The good news is that these attacks are predicable and therefore preventable. Learn more about how you can  stop a ransomware attacks before encryption takes place with our Ransomware Prevention Kit!

Question has a verified solution.

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

This script can help you clean up your user profile database by comparing profiles to Active Directory users in a particular OU, and removing the profiles that don't match.
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
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…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

770 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