Posts tagged “Powershell 5

NJ PowerShell User Group January 8th 2015 Meetup


Yesterday, I attended last evening’s NJ PowerShell User Group January 8th Meetup online. It was attended by a nice group including Jeffrey Snover the godfather of PowerShell, and half a dozen or so MVPs including Joel Bennett, Dave Jones, Trevor Sullivan, Keith Hill, Kirk Munro, Jason Milczek, and Dave Wyatt. The System Center folks may find the first link interesting.

The main subject was PowerShell 5. Interesting links from the meetup include:


Windows 10 Technical Preview – early look at Windows components and features


Checking versions of different Windows components in Windows 10 Technical Preview:

It comes with Powershell 5 !!

Win10a25

Looking at the OS version, it is version 6.4.9841.0

Win10a26This is shown from WMI, and on file versions, and help/about:

Win10a27

 

Navigation is almost identical to Windows 8.1/Server 2012 R2, which I find very comforting.

Checking the available Powershell modules with the command:

Get-Module -ListAvailable | 
    Select name,version,ModuleType,ClrVersion,PowershellVersion | 
        Export-Csv .\Win10-modules.csv -NoTypeInformation

Shows the following 62 modules:

Name Version ModuleType ClrVersion PowerShellVersion
AppBackgroundTask 1.0.0.0 Manifest 3
AppLocker 2.0.0.0 Manifest 4 3
Appx 2.0.0.0 Manifest 4 3
AssignedAccess 1.0.0.0 Script
BitLocker 1.0.0.0 Manifest 4 3
BitsTransfer 2.0.0.0 Manifest 4 3
BranchCache 1.0.0.0 Manifest 3
CimCmdlets 1.0.0.0 Manifest 4 3
Defender 1 Manifest 3
DirectAccessClientComponents 1.0.0.0 Manifest 3
Dism 3 Script 4 4
DnsClient 1.0.0.0 Manifest 4 3
International 2.0.0.0 Manifest 4 3
iSCSI 1.0.0.0 Manifest 3
ISE 1.0.0.0 Script 4 3
Kds 1.0.0.0 Manifest 4 3
Microsoft.PowerShell.Archive 1.0.0.0 Manifest
Microsoft.PowerShell.Diagnostics 3.0.0.0 Manifest 4 3
Microsoft.PowerShell.Host 3.0.0.0 Manifest 4 3
Microsoft.PowerShell.Management 3.1.0.0 Manifest 4 3
Microsoft.PowerShell.ODataUtils 1 Script
Microsoft.PowerShell.Security 3.0.0.0 Manifest 4 3
Microsoft.PowerShell.Utility 3.1.0.0 Manifest 4 3
Microsoft.WSMan.Management 3.0.0.0 Manifest 4 3
MMAgent 1 Manifest 3
MsDtc 1.0.0.0 Manifest 4 3
NetAdapter 2.0.0.0 Manifest 3
NetConnection 1.0.0.0 Manifest 3
NetEventPacketCapture 1.0.0.0 Manifest 3
NetLbfo 2.0.0.0 Manifest 3
NetNat 1.0.0.0 Manifest 3
NetQos 2.0.0.0 Manifest 3
NetSecurity 2.0.0.0 Manifest 4 3
NetSwitchTeam 1.0.0.0 Manifest 3
NetTCPIP 1.0.0.0 Manifest 3
NetworkConnectivityStatus 1.0.0.0 Manifest 3
NetworkSwitch 1.0.0.0 Script 3
NetworkTransition 1.0.0.0 Manifest 3
OneGet 1.0.0.0 Binary 4 2
PcsvDevice 1.0.0.0 Manifest 3
PKI 1.0.0.0 Manifest 4 3
PowerShellGet 0.5 Script 3
PrintManagement 1.1 Manifest 3
PSDesiredStateConfiguration 1 Manifest
PSDiagnostics 1.0.0.0 Script 2.0.50727 2
PSScheduledJob 1.1.0.0 Binary 4 3
PSWorkflow 2.0.0.0 Manifest 4 3
PSWorkflowUtility 1.0.0.0 Manifest 4 3
ScheduledTasks 1.0.0.0 Manifest 4 3
SecureBoot 2.0.0.0 Manifest 4 3
SmbShare 2.0.0.0 Manifest 3
SmbWitness 2.0.0.0 Manifest 3
StartScreen 1.0.0.0 Manifest 4 3
Storage 2.0.0.0 Manifest 3
TLS 2.0.0.0 Manifest 4 3
TroubleshootingPack 1.0.0.0 Manifest 4 3
TrustedPlatformModule 2.0.0.0 Manifest 4 3
VpnClient 2.0.0.0 Manifest 3
Wdac 1.0.0.0 Manifest 3
WindowsDeveloperLicense 1.0.0.0 Manifest 4 3
WindowsErrorReporting 1 Script 4 3
WindowsSearch 1.0.0.0 Manifest 4 3

I ran the same command on a Windows 2012 R2 server (that has Powershell 4) and ran a comparison:

Compare-Object -ReferenceObject (Import-Csv .\Win8-modules.csv).name `
-DifferenceObject (Import-Csv .\Win10-modules.csv).name

That showed the following 8 new modules:

AppBackgroundTask 
AssignedAccess 
Defender 
Microsoft.PowerShell.Archive 
Microsoft.PowerShell.ODataUtils 
NetworkSwitch 
OneGet 
PowerShellGet 

See this blog post for more details on new PS5 modules..

This blog post lists new features in Powershell 5