SlideShare a Scribd company logo
Past and Future
of PowerShell
Kazuki Takai – SCUGJ, Microsoft MVP
System Center User Group Japan #21
自己紹介
• 高井 一輝 (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/
Notice
• 本セッションには、開発中の製品や機能に関する
情報が含まれます
• 2020/01/18時点での情報です
• 本セッションの内容は、特定の組織や団体を代表
するものではありません
突然ですが…
PowerShell はどれでしょう?
History
1.0
2007/01
2.0
2009/10
3.0
2012/09
4.0
2013/10
5.0
2015/12
5.1
2016/08
6.0
2018/01
6.1
2018/09
6.2
2019/03
PowerShell
PowerShell Core
Powered by .NET Framework
Powered by .NET Core
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
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
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
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
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
PowerShell 7
Next version...
PowerShell 7 Overview
主な変更点
.NET Core 3.1 ベース
新しいサポートポリシーと
最長3年間のサポート (LTS)
パフォーマンスの改善
新機能
Secret Management
Credential Management
Invoke-DSCResource
ForEach-Object
-Parallel
互換性の向上
Windows 環境における
後方互換性の確保
.NET Core 自体の互換性向上
PowerShell Core に対応して
いないモジュールのインポート
グループポリシーのサポート
その他の改善点
PSReadLine 2.0
PS Editor Services と VS
Code Extension の改善
新バージョンの通知機能
三項演算子 ( a ? B : c )
パイプラインチェーン演算子
( || and && )
Null 条件演算子
PowerShell 7
2020/01 リリース予定
参考資料
• PowerShell Team Blog
• https://devblogs.microsoft.co
m/powershell/
• Microsoft Ignite 2019 –
BRK3179
• https://www.youtube.com/wa
tch?v=-xTLktWM9X8

More Related Content

PDF
PowerShell 5.0 & Security
PDF
Windows Azure and PowerShell DSC
PDF
Windows PowerShell 5.0 と Windows Server vNext の管理
PDF
Nano Server First Step
PDF
PowerShell 5.0 で広がる運用管理の世界
PDF
PowerShell DSC と Linux
PPT
PowerShell DSC と連携して監視を効率化してみる
PPTX
Interact2016:Introduction of Hyper-V Network Virtualization ver.2
PowerShell 5.0 & Security
Windows Azure and PowerShell DSC
Windows PowerShell 5.0 と Windows Server vNext の管理
Nano Server First Step
PowerShell 5.0 で広がる運用管理の世界
PowerShell DSC と Linux
PowerShell DSC と連携して監視を効率化してみる
Interact2016:Introduction of Hyper-V Network Virtualization ver.2

What's hot (16)

PDF
俺的 Ignite 2021 Fall Update まとめ
PDF
PowerShell 5.0 JEA (Just Enough Administration) First Step
PPTX
PowerShell DSC 入門
PDF
Introducing Windows Terminal
PDF
Windows server2016注目の新機能
PDF
Hyper-V エンタープライズ設計の現実解:2015 年版
PDF
つながるJavaとTFS
PPTX
1st step LogicFlow
PPTX
Power shell の基本操作と処理の自動化 v2_20120514
PPTX
20180901 community ws2019_share
PDF
SCUGJ第12回勉強会:今だから再確認:Windows Azure Pack で作る IaaS 基盤(仮)
PDF
最近の PowerShell のお話
PDF
[MW01] ご注文は Linux + Docker ですか? Windows だけじゃない App Service を使い切る
PDF
MVPComCamp2014:Hyper-V仮想スイッチのTips(仮)
PDF
[Interact 2018] 別視点からのハイパーコンバージドインフラ ~ ソフトウェアによる華麗な “ものづくり“ の世界
PPTX
20160625 cloud samuai_final
俺的 Ignite 2021 Fall Update まとめ
PowerShell 5.0 JEA (Just Enough Administration) First Step
PowerShell DSC 入門
Introducing Windows Terminal
Windows server2016注目の新機能
Hyper-V エンタープライズ設計の現実解:2015 年版
つながるJavaとTFS
1st step LogicFlow
Power shell の基本操作と処理の自動化 v2_20120514
20180901 community ws2019_share
SCUGJ第12回勉強会:今だから再確認:Windows Azure Pack で作る IaaS 基盤(仮)
最近の PowerShell のお話
[MW01] ご注文は Linux + Docker ですか? Windows だけじゃない App Service を使い切る
MVPComCamp2014:Hyper-V仮想スイッチのTips(仮)
[Interact 2018] 別視点からのハイパーコンバージドインフラ ~ ソフトウェアによる華麗な “ものづくり“ の世界
20160625 cloud samuai_final
Ad

Similar to Past and Future of PowerShell (20)

PDF
Recap: PowerShell Core
PDF
最近の PowerShell について
PDF
Windows PowerShell 2.0 の基礎知識
PDF
PowerShell を使用した Hyper-V の管理
PDF
INF-009_PowerShell を 使いこなして、自動化対応 エンジニア になろう!!
PDF
Windows PowerShell 2.0 の基礎知識
PDF
PowerShell 紹介
PDF
はじめてのPowerShell
PDF
20180123 power shell
PPTX
Powershell基礎_20180521用
PPTX
Powershell勉強会 v5 (こちらが最新です。)
PPTX
Powershell勉強会 v3 (もっと新しいバージョンがあります)
PPTX
Powershell勉強会 v2 (もっと新しいバージョンがあります)
PPTX
Powershell勉強会 v4 (もっと新しいバージョンがあります。)
PPTX
Powershell 超絶基礎 勉強会 v1 (もっと新しいバージョンがあります)
PDF
IT Pro のための PowerShell スクリプティング
PPTX
PowerShell の基本操作とリモーティング&v3のご紹介 junichia
PDF
使ってみよう PowerShell
PDF
20170721 初めてのPowerShell
PPTX
運用構築技術者の為のPSプログラミング第1回
Recap: PowerShell Core
最近の PowerShell について
Windows PowerShell 2.0 の基礎知識
PowerShell を使用した Hyper-V の管理
INF-009_PowerShell を 使いこなして、自動化対応 エンジニア になろう!!
Windows PowerShell 2.0 の基礎知識
PowerShell 紹介
はじめてのPowerShell
20180123 power shell
Powershell基礎_20180521用
Powershell勉強会 v5 (こちらが最新です。)
Powershell勉強会 v3 (もっと新しいバージョンがあります)
Powershell勉強会 v2 (もっと新しいバージョンがあります)
Powershell勉強会 v4 (もっと新しいバージョンがあります。)
Powershell 超絶基礎 勉強会 v1 (もっと新しいバージョンがあります)
IT Pro のための PowerShell スクリプティング
PowerShell の基本操作とリモーティング&v3のご紹介 junichia
使ってみよう PowerShell
20170721 初めてのPowerShell
運用構築技術者の為のPSプログラミング第1回
Ad

More from Kazuki Takai (17)

PDF
Azure Arc Automanage Machine Configuration による構成の管理と適用
PDF
Azure Arc Jumpstart - Azure ArcBox を使った Azure Arc 対応 SQL MI 学習環境の構築
PDF
Azure Arc Jumpstart Update - HCIBox Edition
PDF
ArcBox のおさらいと最新情報
PDF
Arc 対応サーバーへの SSH アクセス
PDF
Insight into Azure Active Directory #02 - Azure AD B2B Collaboration New Feat...
PDF
Insight into Azure Active Directory - Azure AD Custom Role & Scope
PDF
Windows Server 2022 Datacenter Azure Edition Overview
PDF
Azure Arc 概要
PDF
Recap: Windows Server 2019 Failover Clustering
PDF
5分で分かる Windows Server 2019 HCI 超概要
PDF
Application Platform としての Windows Server 2019
PDF
Windows Server 2019 で Container を使ってみる
PDF
Getting started with Windows Containers
PDF
Windows とコンテナの話
PDF
DSC 再入門
PDF
Azure Stack の使い道 - 2017年11月版 -
Azure Arc Automanage Machine Configuration による構成の管理と適用
Azure Arc Jumpstart - Azure ArcBox を使った Azure Arc 対応 SQL MI 学習環境の構築
Azure Arc Jumpstart Update - HCIBox Edition
ArcBox のおさらいと最新情報
Arc 対応サーバーへの SSH アクセス
Insight into Azure Active Directory #02 - Azure AD B2B Collaboration New Feat...
Insight into Azure Active Directory - Azure AD Custom Role & Scope
Windows Server 2022 Datacenter Azure Edition Overview
Azure Arc 概要
Recap: Windows Server 2019 Failover Clustering
5分で分かる Windows Server 2019 HCI 超概要
Application Platform としての Windows Server 2019
Windows Server 2019 で Container を使ってみる
Getting started with Windows Containers
Windows とコンテナの話
DSC 再入門
Azure Stack の使い道 - 2017年11月版 -

Past and Future of PowerShell

  • 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/
  • 3. Notice • 本セッションには、開発中の製品や機能に関する 情報が含まれます • 2020/01/18時点での情報です • 本セッションの内容は、特定の組織や団体を代表 するものではありません
  • 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
  • 12. PowerShell 7 Overview 主な変更点 .NET Core 3.1 ベース 新しいサポートポリシーと 最長3年間のサポート (LTS) パフォーマンスの改善 新機能 Secret Management Credential Management Invoke-DSCResource ForEach-Object -Parallel 互換性の向上 Windows 環境における 後方互換性の確保 .NET Core 自体の互換性向上 PowerShell Core に対応して いないモジュールのインポート グループポリシーのサポート その他の改善点 PSReadLine 2.0 PS Editor Services と VS Code Extension の改善 新バージョンの通知機能 三項演算子 ( a ? B : c ) パイプラインチェーン演算子 ( || and && ) Null 条件演算子
  • 14. 参考資料 • PowerShell Team Blog • https://devblogs.microsoft.co m/powershell/ • Microsoft Ignite 2019 – BRK3179 • https://www.youtube.com/wa tch?v=-xTLktWM9X8