Welcome to Dirteam.com/ActiveDir.org Blogs Sign in | Join | Help

Matt Johnson's Technical Adventures

One server at a time.
Random PowerShell Cmdlet Fun

I wanted to see what additional PowerShell cmdlet’s I had installed on my computer. I found out that get-pssnapin does the job!

Just run the following in your PowerShell window:

get-pssnapin –registered

You should get an out put like this:

PS C:\tools> get-pssnapin –registered

Name        : Quest.ActiveRoles.ADManagement
PSVersion   : 1.0
Description : Registers the CmdLets and Providers in this assembly

PS C:\tools>

Then all you do to load the snap in is type:

add-pssnapin Quest.ActiveRoles.ADManagement

If you wanted to load all available snap ins, just type:

get-pssnapin –registered | add-pssnapin

PowerShell gets better by the day.

Posted: Friday, July 25, 2008 11:10 AM by win2kmaster
Filed under:

Comments

No Comments

Anonymous comments are disabled