posted
13/01/10
By Fredrik Wall
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
posted
27/10/09
By Fredrik Wall
This short blog post will be a first view of
PowerGUI and the AD PowerPack.
Now with the Active Directory PowerPack
we have a new group in PowerGUI.

In my case, my computer belongs
to my lab Active Directory. But my logged in user
don’t. So when I try to click on Users I will get some errors.
To fix this I only need to start PowerGUI with
a different user.
The Power of the PowerGUI as I see it is the nice GUI and
the easy way to see how Its done. Because Its PowerShell
behind this and Its so easy to see it.
Right-click on Users and then Properties.
Now you can see the code behind.
This will give you some information on how to use
this in your own scripts.
But be ware of that PowerGUI does something that
you don’t see in this code.
You need to load the snap-in for Quest AD cmdlets.
More about this later on!
posted
27/10/09
By Fredrik Wall
Hi,
my latest project or my latest lab is to install
two PowerPacks with the latest release
of PowerGUI (1.9.5).

These good PowerPacks are not new, but I’m
old fashion and I haven’t tried them before
To be able to install these two PowerPacks we needed to
install two things.
- Active Directory
To be able to use the Active Directory PowerPack
we need Quests Active Directory cmdlets.
And we will find them in the Quest
ActiveRoles Management Shell. You will find it here.
The next step is very good, but will not
work for me in my lab environment.
- Exchange 2007
To be able to use the Exchange 2007 PowerPack
we need to do this on a Exchange 2007 machine or
install the Exchange 2007 Management Console.
The 64-bit version can be found on the
Exchange 2007 disk.
The 32-bit version can be found here.
More information about the Exchange Management Shell
can be found here.
So now we have installed 4 new friends