Solved

CMDlet

Posted on 2013-01-28
3
362 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 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Create and license users in Office 365 in bulk based on a CSV file. A step-by-step guide with PowerShell script examples.
A procedure for exporting installed hotfix details of remote computers using powershell
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…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …

691 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