• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 369
  • Last Modified:

CMDlet

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
pdsmicro
Asked:
pdsmicro
1 Solution
 
als315Commented:
"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
 
coraxalCommented:
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
 
pdsmicroAuthor Commented:
thanks
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now