Monthly Archive

Categories

More PowerShell modules than you know what to do with

After building a PowerShell Windows 8 server I naturally started to look at PowerShell

Click the icon and it loads

PS C:\Users\Administrator> $psversiontable

Name                           Value
----                           -----
PSVersion                      3.0
PSCompatibleVersions           {1.0, 2.0, 3.0}
BuildVersion                   6.2.8102.0
CLRVersion                     4.0.30319.17020
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.103
SerializationVersion           1.1.0.1

Compare with current details from PowerShell v2

PS> $psversiontable

Name                           Value
----                           -----
CLRVersion                     2.0.50727.5446
BuildVersion                   6.1.7601.17514
PSVersion                      2.0
WSManStackVersion              2.0
PSCompatibleVersions           {1.0, 2.0}
SerializationVersion           1.1.0.1
PSRemotingProtocolVersion      2.1

 

The biggest change is that PowerShell 3 uses .NET 4.0 and WSMan has moved on a version.

Without loading any features or roles the following 56 modules are available

ADDeploymentWF                           AppLocker
Appx                                     BestPractices
BitsTransfer                             BranchCache
CimCmdlets                               ClusterAwareUpdating
DirectAccessClientComponents             Dism
DnsClient                                DnsConfig
DnsLookup                                DnsNrpt
FailoverClusters                         FileServer
iSCSI                                    KdsCmdlets
Microsoft.PowerShell.Core                Microsoft.PowerShell.Diagnostics
Microsoft.PowerShell.Host                Microsoft.PowerShell.Management
Microsoft.PowerShell.Security            Microsoft.PowerShell.Utility
Microsoft.WSMan.Management               MicrosoftiSCSITarget
MsDtc                                    NetAdapter
NetLbfo                                  NetQos
NetSwitchTeam                            NetTCPIP
netwnv                                   NetworkConnectivityStatus
NetworkSecurity                          NetworkTransition
PKIClient                                PrintManagement
PS_MMAgent                               PSDiagnostics
PSScheduledJob                           PSWorkflow
RDManagement                             ScheduledTasks
SecureBoot                               ServerManager
ServerManagerShell                       SmbShare
SmbWitness                               Storage
TelemetryManagement                      TroubleshootingPack
TrustedPlatformModule                    UserAccessLogging
Wdac                                     Whea

These modules are auto loaded when PowerShell starts

                                          ADDeploymentWF
AppLocker                                Appx
BestPractices                            BitsTransfer
BranchCache                              CimCmdlets
ClusterAwareUpdating                     DirectAccessClientComponents
Dism                                     DnsClient
DnsConfig                                DnsLookup
DnsNrpt                                  FailoverClusters
FileServer                               iSCSI
KdsCmdlets                               Microsoft.PowerShell.Core Microsoft.PowerShell.Diagnostics         Microsoft.PowerShell.Host
Microsoft.PowerShell.Management          Microsoft.PowerShell.Security
Microsoft.PowerShell.Utility             Microsoft.WSMan.Management
MicrosoftiSCSITarget                     MsDtc
NetAdapter                               NetLbfo
NetQos                                   NetSwitchTeam
NetTCPIP                                 netwnv
NetworkConnectivityStatus                NetworkSecurity
NetworkTransition                        PKIClient
PrintManagement                          PS_MMAgent
PSDiagnostics                            PSScheduledJob
PSWorkflow                               RDManagement
ScheduledTasks                           SecureBoot
ServerManager                            ServerManagerShell
SmbShare                                 SmbWitness
Storage                                  TelemetryManagement
TroubleshootingPack                      TrustedPlatformModule
UserAccessLogging                        Wdac
Whea

Thats all of them! 

To paraphrase a slogan from a well known software company – what do you want to automate today?

Remember – thats before we add any roles or features.

This going to be fun

Leave a Reply