Windows 10: Powershell 5

Checking versions of different Windows components in Windows 10:

Use $PSVersionTable.PSVersion to determine the engine version.

It comes with Powershell 5.

http://superwidgets.files.wordpress.com/2014/10/win10a25.jpg

Looking at the OS version, it is version 6.4.9841.0

http://superwidgets.files.wordpress.com/2014/10/win10a26.jpgThis is shown from WMI, and on file versions, and help/about:

http://superwidgets.files.wordpress.com/2014/10/win10a27.jpg

Navigation is almost identical to Windows 8.1/Server 2012 R2, which is 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

The same command on a Windows 2012 R2 server (that has Powershell 4) for comparison:

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

That showed the following eight new modules:

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

For more information follow this link.