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.
[Blog] List all XP computers in an Active Directory, http://tinyurl.com/yzqpu8q #PowerShell #AD #Quest #Blog
[Blog] List all XP computers in an Active Directory, http://tinyurl.com/yzqpu8q #PowerShell #AD #Quest #Blog
How to list all XP computers – http://bit.ly/8F4Hwc (via @walle75)