1. Past and Future
of PowerShell
Kazuki Takai – SCUGJ, Microsoft MVP
System Center User Group Japan #21
2. 自己紹介
• 高井 一輝 (Takai Kazuki)
• 某ISP勤務:サービスの開発、設計、設備維持
• Windows Server / System Center / Linux / etc…
• Microsoft MVP - Cloud and Datacenter
Management
• System Center User Group Japan (SCUGJ)
• Twitter : @zhuky7 / Facebook : kazuki.takai
• Blog : http://operationslab.wordpress.com/
6. Old versions of PowerShell
PowerShell
1.0
• First release
• Optional
component
PowerShell
2.0
• Integrated with
OS (2008 R2 / 7)
• PowerShell
Remoting
• Background Job
• PowerShell ISE
PowerShell
3.0
• 2012 / 8 with
.NET 4
• Session
• Workflow
• Module detection
(auto)
• Cmdlets for OS
configuration
PowerShell
4.0
• 2012 R2 / 8.1
• Desired State
Configuration
• Changed default
execution policy
• Get-FileHash
7. PowerShell 5.0 / 5.1
• Windows 10, Windows Server 2016 and 2019
• .NET Framework 4.5+
• Package Management
• Class
• Just Enough Administration
• DSC Partial Configuration
• Security enhancement
• Transcript
• Logging
• CMS
8. PowerShell Core 6
• Based on .NET Core
• Cross Platform
• Windows, macOS, Linux
• Windows PowerShell と共存可能
• Windows PowerShell からの変更点多数(破壊的な変更を含む)
• Install Path / Module Path / Profile Path
• Path delimiter
• Case sensitive (Linux, macOS)
• Not supported...
• Workflow, DSC, Custom Snap-in, WMI v1 cmdlets
• Windows specific modules
9. Core vs Full
PowerShell Core Windows PowerShell
Latest Version PS Core 6.2.3 / PS 7.0.0-rc.2 PS 5.1 (with WMF 5.1)
Platform / OS Windows (x86/x64/arm), Linux, macOS Windows (x86/x64)
Runtime .NET Core .NET Framework
Edition ($PSEdition) Core Desktop
Executable binary pwsh (pwsh.exe) powershell.exe
WMF Independent Required
Remoting (PSRP) SSH or WinRM WinRM
Default Encoding UTF-8 (with NO BOM) UTF-16
Lifecycle Modern Lifecycle Policy (PS Core 6)
New Lifecycle Policy (PS 7)
Depends on OS Lifecycle
Licensing MIT license Depends on OS license
10. PowerShell Core Usage
6.0.0-beta.2
6.0 RC1
6.0 RC2 6.0 GA 6.1 GA
6.2 GA
0.00
10,000,000.00
20,000,000.00
30,000,000.00
40,000,000.00
50,000,000.00
60,000,000.00
70,000,000.00
Windows Linux Mac Total Trend