How to list all XP computers

Todays onliner will show all Windows XP computers
in a whole Active Directory.

Get-QADComputer -SizeLimit 0 -Osname "*xp*" | Select-Object Name, description, path

This can be nice If you want to migrate to Windows 7.

And if you want to show all Windows Server 2008

or Windows Server 2003 machines you just change –OSName to 2008 or 2003.

You need to have Quest AD cmdlets installed and you need to Add it first.

Add-PSSnapin Quest.ActiveRoles.ADManagement

If you want to import all information to excel you can

export It to a csv file with

| Export-Csv c:\scripts\test.txt

No related posts.

This entry was posted in PowerShell Blogs and tagged , , , , . Bookmark the permalink.

0 Responses to How to list all XP computers

  1. Fredrik Wall says:

    [Blog] List all XP computers in an Active Directory, http://tinyurl.com/yzqpu8q #PowerShell #AD #Quest #Blog

  2. Fredrik Wall says:

    [Blog] List all XP computers in an Active Directory, http://tinyurl.com/yzqpu8q #PowerShell #AD #Quest #Blog

  3. Esther Leder says:

    How to list all XP computers – http://bit.ly/8F4Hwc (via @walle75)

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>