Jorge's Quest For Knowledge!

All You Need To Know About Identity And Security On-Premises And In The Cloud. It's Just Like An Addiction, The More You Have, The More You Want To Have!

(2009-06-20) Which PowerShell Snap-Ins And Modules Are Available For Use?

Posted by Jorge on 2009-06-20


This is the way to determine which PowerShell Snap-Ins and Modules are available in Windows Server 2008 R2…

PS C:> Get-PSSnapin

Name : Microsoft.PowerShell.Diagnostics

PSVersion : 2.0

Description : This Windows PowerShell snap-in contains Windows Eventing and Performance Counter cmdlets.

Name : Microsoft.WSMan.Management

PSVersion : 2.0

Description : This Windows PowerShell snap-in contains cmdlets (such as Get-WSManInstance and Set-WSManInstance) that are used by the Windows PowerShell host to manage WSMan operations.

Name : Microsoft.PowerShell.Core

PSVersion : 2.0

Description : This Windows PowerShell snap-in contains cmdlets used to manage components of Windows PowerShell.

Name : Microsoft.PowerShell.Utility

PSVersion : 2.0

Description : This Windows PowerShell snap-in contains utility Cmdlets used to manipulate data.

Name : Microsoft.PowerShell.Host

PSVersion : 2.0

Description : This Windows PowerShell snap-in contains cmdlets (such as Start-Transcript and Stop-Transcript) that are provided for use with the Windows PowerShell console host.

Name : Microsoft.PowerShell.Management

PSVersion : 2.0

Description : This Windows PowerShell snap-in contains management cmdlets used to manage Windows components.

Name : Microsoft.PowerShell.Security

PSVersion : 2.0

Description : This Windows PowerShell snap-in contains cmdlets to manage Windows PowerShell security.

….Loading the Snap-In is done by: Add-PSSnapin <String Name>
(e.g. Add-PSSnapin Microsoft.PowerShell.Security)

PS C:> Get-Module -ListAvailable

ModuleType Name ExportedCommands
———————– ————————-
Manifest ActiveDirectory {}
Manifest ADRMS {}
Manifest AppLocker {}
Manifest BestPractices {}
Manifest BitsTransfer {}
Manifest GroupPolicy {}
Manifest PSDiagnostics {}
Manifest ServerManager {}
Manifest TroubleshootingPack {}
Manifest WebAdministration {}

….Loading the Module is done by: Import-Module <ModuleType Name>
(e.g. Import-Module ActiveDirectory)

Cheers,
Jorge
———————————————————————————————
* This posting is provided "AS IS" with no warranties and confers no rights!
* Always evaluate/test yourself before using/implementing this!
* DISCLAIMER:
https://jorgequestforknowledge.wordpress.com/disclaimer/
———————————————————————————————
############### Jorge’s Quest For Knowledge #############
#########
http://JorgeQuestForKnowledge.wordpress.com/ ########
———————————————————————————————

One Response to “(2009-06-20) Which PowerShell Snap-Ins And Modules Are Available For Use?”

  1. […] all the way with PowerShell and more and more products are becoming PowerShell-enabled. Also see this post on how to use […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: