2. 自己紹介
高井 一輝 (Takai Kazuki)
某ISP勤務
クラウドサービスの開発、設計、設備維持
Windows Server / System Center / Linux / etc…
System Center User Group Japan (SCUGJ)
Twitter : @zhuky7 / Facebook : kazuki.takai
Blog : http://operationslab.wordpress.com/
2
6. 本日の環境
WMF 5.0 Preview
Windows 10 Pro Insider Preview (Build 10162, 10166)
Windows Server 2016 TP2 (Build 10072)
Package Repository, MIM
Windows Server 2012 R2
Windows 8.1
6
7. Windows Server と PowerShell
Windows Server の進化とともに、PowerShell も進化
PowerShell 1.0 : Windows Server 2003, Windows XP, Vista の追加コンポーネント
PowerShell 2.0 : Windows Server 2008 R2 に標準搭載 (2003 – 2008 対応)
PowerShell 3.0 : Windows Server 2012 に標準搭載 (2008, 2008 R2 対応)
PowerShell 4.0 : Windows Server 2012 R2 に標準搭載 (2008 R2, 2012 対応)
PowerShell 5.0 : Windows Server 2016 に標準搭載予定 (2008 R2 – 2012 R2 対応?)
デフォルトで有効化
Windows 10 にも搭載予定!?
7
8. 2012 R2 vs 2016
8
Windows Server 2012 R2
Build Version : 6.3.9600.16394
Windows Server 2012 R2 with KB3000850
Build Version : 6.3.9600.17400
Windows Server 2016 TP2
Build Version : 10.0.10074.0
Windows Server 2012 R2 with WMF 5.0 Preview
Build Version : 10.0.10105.0
Windows 10 Insider Preview
Build Version : 10.0.10162.0 (Slow Ring), 10.0.10166.0 (Fast Ring)
9. WMF 5.0 Preview April 2015
2015/07/10 現在、以下の OS に対応
Windows Server 2012 R2, Windows 8.1
Windows Server 2012
Windows Server 2008 R2, Windows 7
KB3055381 or KB3055377 or KB2908075 をインストールすることで利用可能
OS 毎に指定の KB をインストール
詳細はリリースノートを参照
英語の言語パックがインストールされていない環境ではインストールに失敗する(かも)
9
14. PowerShell Direct
注意点
ホスト、ゲストともに Windows 10 or Windows Server 2016 である必要がある
評価上の注意点
ホストとゲストの組み合わせにより、うまく動作しない場合がある
Windows 10 Insider Preview Build 10162 -> Windows Server 2016 TP2 Build 10072 : NG
Windows 10 Insider Preview Build 10162 -> Windows 10 Insider Preview Build 10166 : OK
Windows Server 2016 TP2 Build 10072 -> Windows Server 2016 TP2 Build 10072 : OK
なるべく同じ Build Version を使用する
14
34. 参考資料
What‘s New in Windows PowerShell – TechNet
http://technet.microsoft.com/en-us/library/hh857339.aspx
Windows PowerShell Blog
http://blogs.msdn.com/b/powershell/
PowerShell Gallery
https://www.powershellgallery.com/
34