+ All Categories
Home > Technology > Windows Server 2016 Essentials TP4の強化ポイントとPowerShellの使いどころ

Windows Server 2016 Essentials TP4の強化ポイントとPowerShellの使いどころ

Date post: 16-Apr-2017
Category:
Upload: satoru-nasu
View: 1,548 times
Download: 3 times
Share this document with a friend
57
Japan ComCamp 2016 powered by MVPs in 東東 Windows Server 2016 Essentials TP4 のののののののの PowerShell のののののの 東東東東東東東東東東東東 Blog http://nasunoblog.blogspot.com Twitter @nasunotw Facebook https://facebook.com/nasunoblog Google+ https://plus.google.com/+SatoruNasu
Transcript
Page 1: Windows Server 2016 Essentials TP4の強化ポイントとPowerShellの使いどころ

Japan ComCamp 2016 powered by MVPs in 東北

Windows Server 2016 Essentials TP4 の強化ポイントとPowerShell の使いどころ

エンドユーザー視点で見た

Blog http://nasunoblog.blogspot.comTwitter @nasunotwFacebook https://facebook.com/nasunoblogGoogle+https://plus.google.com/+SatoruNasu

Page 2: Windows Server 2016 Essentials TP4の強化ポイントとPowerShellの使いどころ

• 本資料の内容は、 2016 年 2 月 20 日までの情報を元にしております。

• 本セッションでは、正式リリース前の情報を元にお話しします。

• 正式リリースでは、仕様や動作、文言が変更される可能性があります。

Page 3: Windows Server 2016 Essentials TP4の強化ポイントとPowerShellの使いどころ

自己紹介那須 悟 (Nasu Satoru)

Microsoft MVPCloud and Datacenter Management※ 以前: Windows Server Small and Medium Business

大好物ThinkPad T シリーズWHS/Windows Server Essentials シリーズPowerShell

Page 4: Windows Server 2016 Essentials TP4の強化ポイントとPowerShellの使いどころ

1. “ Windows Server Essentials”を使えば何ができるのかを知る

2. 2016 版の“基本機能と新機能”を知る3. “PowerShell の使いどころ”を知る

本セッションの目的

Page 5: Windows Server 2016 Essentials TP4の強化ポイントとPowerShellの使いどころ

Windows Server Essentials とは

Page 6: Windows Server 2016 Essentials TP4の強化ポイントとPowerShellの使いどころ

従業員 #1

Firewall??

システム管理会社

従業員 #2 従業員 #3

よくある小さい企業

従業員 #4

Page 7: Windows Server 2016 Essentials TP4の強化ポイントとPowerShellの使いどころ

従業員 #1

Firewall??

システム管理会社

従業員 #2 従業員 #3

よくある小さい企業

従業員 #4

1.データの共有方法が下手2.インターネットの活用が下手3.トラブルに弱い4.セキュリティに弱い5.管理……………………………

Page 8: Windows Server 2016 Essentials TP4の強化ポイントとPowerShellの使いどころ

僕は会社を守りたい

そして、

この位攻めたい!

Page 9: Windows Server 2016 Essentials TP4の強化ポイントとPowerShellの使いどころ

Windows Server 2012 R2

Essentials

システム管理者 従業員 #1 従業員 #1 従業員 #2 従業員 #3

Firewall

VPN リモート Web アクセスRemote Desktop

MicrosoftIntune

Microsoft Online Services

Office 365

Azure BackupAzure

Active Directory

システム管理会社

バックアップ

状態レポート

Page 11: Windows Server 2016 Essentials TP4の強化ポイントとPowerShellの使いどころ

( ゚ Д ゚ ) メンドクサイ

Page 12: Windows Server 2016 Essentials TP4の強化ポイントとPowerShellの使いどころ

WindowsServerEssentialsならできる!

Page 13: Windows Server 2016 Essentials TP4の強化ポイントとPowerShellの使いどころ

超簡単

Page 14: Windows Server 2016 Essentials TP4の強化ポイントとPowerShellの使いどころ

設定済み

だから

Page 15: Windows Server 2016 Essentials TP4の強化ポイントとPowerShellの使いどころ

WindowsServerEssentials ?

Page 16: Windows Server 2016 Essentials TP4の強化ポイントとPowerShellの使いどころ

Windows Server 2012 R2

Essentials

システム管理者 従業員 #1 従業員 #1 従業員 #2 従業員 #3

Firewall

VPN リモート Web アクセスRemote Desktop

MicrosoftIntune

Microsoft Online Services

Office 365

Azure BackupAzure

Active Directory

システム管理会社

バックアップ

状態レポート

Page 17: Windows Server 2016 Essentials TP4の強化ポイントとPowerShellの使いどころ

Windows Server 2012 R2

Essentials

システム管理者 従業員 #1 従業員 #1 従業員 #2 従業員 #3

Firewall

VPN リモート Web アクセスRemote Desktop

MicrosoftIntune

Microsoft Online Services

Office 365

Azure BackupAzure

Active Directory

システム管理会社

バックアップ

状態レポート

Page 18: Windows Server 2016 Essentials TP4の強化ポイントとPowerShellの使いどころ

Windows Server

Essentialsバックアップ

Page 19: Windows Server 2016 Essentials TP4の強化ポイントとPowerShellの使いどころ

25 人未満の中小企業をターゲット 非専任の一般従業員でも使える

中小企業向け Windows Server OS

× 25 人× 50 台

CAL × Free

Page 20: Windows Server 2016 Essentials TP4の強化ポイントとPowerShellの使いどころ

Windows Server Essentials ダッシュボード全てはダッシュボードから始まる

• ユーザー&グループ管理• 共有フォルダー• バックアップ• リモートアクセス• 状態レポーティング• Azure,Office365 などと連携

Page 21: Windows Server 2016 Essentials TP4の強化ポイントとPowerShellの使いどころ

Windows Server 2016Essentials の基本と

新機能をチェック!

Page 22: Windows Server 2016 Essentials TP4の強化ポイントとPowerShellの使いどころ

Basic Featureユーザー登録は最大 25 人まで

Page 23: Windows Server 2016 Essentials TP4の強化ポイントとPowerShellの使いどころ

Basic Feature26 人目以降は?

Page 24: Windows Server 2016 Essentials TP4の強化ポイントとPowerShellの使いどころ

Basic Featureデバイス数は(今だけ?)制限なし

Page 25: Windows Server 2016 Essentials TP4の強化ポイントとPowerShellの使いどころ

合計 102 台の Windows 10 を追加したよ

Page 26: Windows Server 2016 Essentials TP4の強化ポイントとPowerShellの使いどころ

Basic Featureユーザーグループ数は(ほぼ)制限なし

Page 27: Windows Server 2016 Essentials TP4の強化ポイントとPowerShellの使いどころ

作りすぎは禁物です

Page 28: Windows Server 2016 Essentials TP4の強化ポイントとPowerShellの使いどころ

Basic Feature共有フォルダーは(ほぼ)制限なし

Page 29: Windows Server 2016 Essentials TP4の強化ポイントとPowerShellの使いどころ

Basic Feature共有フォルダーは 1000 個くらい簡単に作れる

たった 58 秒で 1000 個を追加!

Page 30: Windows Server 2016 Essentials TP4の強化ポイントとPowerShellの使いどころ

New Feature検索機能が充実

• 部分一致検索• 検索対象が多い時に

大助かり!

Page 31: Windows Server 2016 Essentials TP4の強化ポイントとPowerShellの使いどころ

New Feature内部ドメインは .local 以外も設定可能

Page 32: Windows Server 2016 Essentials TP4の強化ポイントとPowerShellの使いどころ

New Feature内部ドメインは .local 以外も設定可能

ドメイン名の名前衝突 (Name Collision) に注意

Page 33: Windows Server 2016 Essentials TP4の強化ポイントとPowerShellの使いどころ

New FeatureWindows Server Antimalware

Page 34: Windows Server 2016 Essentials TP4の強化ポイントとPowerShellの使いどころ

New FeatureAzure との連携、更に拡大!

Page 35: Windows Server 2016 Essentials TP4の強化ポイントとPowerShellの使いどころ

New FeatureAzure Virtual Network

• 社内インフラをクラウドに拡張• Site-to-Site / Point-to-Site 接続• 設定が超絶簡単!

Page 36: Windows Server 2016 Essentials TP4の強化ポイントとPowerShellの使いどころ

Hyper-V VMs

仮想スイッチ

WSE2016TP4 WS2016TP4

• WS2012R2• SQL Server 2014

VPN(SSTP)

VPN(IPsec)

Page 37: Windows Server 2016 Essentials TP4の強化ポイントとPowerShellの使いどころ

Azure Virtual Network設定手順

1. アドインをインストール2. Azure にサインイン3. Azure サブスクリプションを選択4. Network 名 (Azure, ローカル ) を入力5. Azure のリージョンを指定6. Server or VPN Router を指定7. 終わり! ( ゚ Д ゚ ) ハヤッ

Page 38: Windows Server 2016 Essentials TP4の強化ポイントとPowerShellの使いどころ

ネットワーク設計不要

Page 39: Windows Server 2016 Essentials TP4の強化ポイントとPowerShellの使いどころ

New FeatureAzure Recovery• DRaaS(DR as a Service) の一つ• オンプレの VM を Azure へレプリケート ( 複製 )• VM がこけた

→ FailOver して Azure の VM が起動

Page 40: Windows Server 2016 Essentials TP4の強化ポイントとPowerShellの使いどころ

New FeatureAzure Recovery

• 2016 Essentials にはインストールできなかった! ドメイン コントローラーだから(仕様) メンバーサーバーで使用する???

※鋭意調査中!

Page 41: Windows Server 2016 Essentials TP4の強化ポイントとPowerShellの使いどころ

Hyper-V VMs

仮想スイッチ

WSE2016TP4 WS2016TP4

• WS2012R2• SQL Server 2014

Page 42: Windows Server 2016 Essentials TP4の強化ポイントとPowerShellの使いどころ

TP4 で確認された

注意点

Page 43: Windows Server 2016 Essentials TP4の強化ポイントとPowerShellの使いどころ

TP4 時点の注意点• ドキュメントが一切ない!• 連携アプリが Windows 8.x にインストール不可• ダッシュボードは結構な頻度で落ちる• Azure サービスの認証エラーがよく起きる

AAD,Virtual Network,Recovery でエラー• Azure Virtual Network がよく切断される• Azure Virtual Network は利用できるまで 30 - 40 分はか

かる 理由は Azure 側のゲートウェイ作成

Page 44: Windows Server 2016 Essentials TP4の強化ポイントとPowerShellの使いどころ

直ぐに役立つ

PowerShell の

使いどころ

Page 45: Windows Server 2016 Essentials TP4の強化ポイントとPowerShellの使いどころ

PowerShell の使いどころ同じ作業に強いスクリプト言語

# ユーザーリストを取得$csv = Import-Csv –Path "c:\temp\WseAddUsers.csv" -Encoding Default -Delimiter ","

# 登録$csv | foreach{ Add-WssUser -Name $_.UserName ` -FirstName $_.FirstName ` -LastName $_.FirstName ` -Password ($_.Password | ConvertTo-SecureString -AsPlainText -Force) ` -AccessLevel User}

Page 46: Windows Server 2016 Essentials TP4の強化ポイントとPowerShellの使いどころ

PowerShell の使いどころExcel に直接アクセスできた方が何かと楽!

システム台帳

Page 47: Windows Server 2016 Essentials TP4の強化ポイントとPowerShellの使いどころ

PowerShell の使いどころExcel に直接アクセスした方が楽!便利!

https://www.powershellgallery.com/packages/ImportExcel/1.98

Page 48: Windows Server 2016 Essentials TP4の強化ポイントとPowerShellの使いどころ

PowerShell の使いどころImportExcel モジュールは即役立つ!!!

http://nasunoblog.blogspot.jp/2016/02/powershell-packagemanagement-how-to-update-powershell-module.html

Find-Package -Name ImportExcel | Install-Package

Windows 10/Windows Server 2016

Install-Moduel -Name ImportExcel又は

Page 49: Windows Server 2016 Essentials TP4の強化ポイントとPowerShellの使いどころ

PowerShell の使いどころImportExcel モジュールは即役立つ!!!

http://nasunoblog.blogspot.jp/2016/02/powershell-packagemanagement-how-to-update-powershell-module.html

Windows 7 ~ 8.1/WS 2008 R2 ~ 2012 R2 の場合• PackageManagement PowerShell Modules Previewをインストール

• 前頁の PowerShell を実行

又は• ImportExcel モジュールをダウンロード & イン

ポート

Page 50: Windows Server 2016 Essentials TP4の強化ポイントとPowerShellの使いどころ

Demo : Windows Server Essentials を高速構築

1. システム台帳を事前に作成2. Windows Server Backup を設

定3. 部署ごとのグループを作成4. ユーザーを作成5. 共有フォルダーを作成6. 〃の ACL とクォータを設定7. 状態レポートを設定

8. リモート Web アクセスを設定9. 作業完了メールを送信10.IP アドレスを設定

Page 51: Windows Server 2016 Essentials TP4の強化ポイントとPowerShellの使いどころ

ID FirstName LastName UserName Password Group1 古本 明世 komoto_akiyo QXii7871 営業部2 鶴 奏多 tsuru_kanata WVmp9457 -社外 システム管理3 浅川 莉玖 asakawa_riku UJ J i3886 営業部4 竹川 七三子 takekawa_namiko FUMl1971 -社外 システム管理5 桝田 謡子 masuda_youko IWIx4399 情報システム課6 吉川 俊祐 yoshikawa_shunsuke AAJ t7362 経理部7 加藤 正宗 katou_masamune XUBs4396 営業部8 立花 奥菜 tachibana_okuna CBLg1594 総務部9涌井 碧 wakui_aoi IApd1391 営業部

10袖山 一平 sodeyama_ippei J UDt5296 総務部11柳楽 拓哉 nagira_takuya HZSx8121 総務部12児山 万亀代 koyama_makiyo GKFq8127 経理部13庄子 英寿 shiuji_hidetoshi EFNl7455 総務部14柏木 武琉 kashiwagi_takeru ENTh4387 経理部15岡松 朝 okamatsu_ashita XOQe3353 経営企画部16神津 岩子 kamitsu_iwako ZHVy9351 情報システム課

Page 52: Windows Server 2016 Essentials TP4の強化ポイントとPowerShellの使いどころ

ID GroupName Description AllowVPN AllowRWA1情報システム課 システム企画部に在籍 1 12経理部 0 03総務部 0 04営業部 1 15経営企画部 経営者を含む 0 06 -社外 システム管理 社内システム委託先 1 0

FolderName UserGroup Permission Quota一時フォルダー * Full 10 GB業務アプリ * Readonly 10 GB業務アプリ 情報システム課 Fullスキャンフォルダ * Readonly 10 GBスキャンフォルダ 情報システム課 Full営業部 営業部 Full 30 GB経理部 経理部 Full 20 GB総務部 総務部 Full 20 GB経営企画部 経営企画部 Full 30 GB情報システム課 情報システム課 Full 0 GB社外システム管理 情報システム課 Full 0 GB社外システム管理 -社外 システム管理 Full

Page 53: Windows Server 2016 Essentials TP4の強化ポイントとPowerShellの使いどころ

https://www.youtube.com/watch?v=QOUYmU3E7nA

Page 54: Windows Server 2016 Essentials TP4の強化ポイントとPowerShellの使いどころ

まとめ

Page 55: Windows Server 2016 Essentials TP4の強化ポイントとPowerShellの使いどころ

まとめWindows Server Essentials

• 中小企業向け OS

• 低コスト+やりたい事が直ぐにデキル• 2016 は基本機能やセキュリティ、クラウド連携

の点で改善が見られる

Page 56: Windows Server 2016 Essentials TP4の強化ポイントとPowerShellの使いどころ

まとめPowerShell

• 同じ処理に強いスクリプト言語• 製品専用 PowerShell で Automation 化も可

能• モジュールを導入→作業効率アップ

Page 57: Windows Server 2016 Essentials TP4の強化ポイントとPowerShellの使いどころ

ご清聴ありがとうございました Widows Server 2016 Essentials TP4 ダウンロードサイト

https://www.microsoft.com/ja-jp/evalcenter/evaluate-windows-server-essentials-technical-preview

Windows Server 2012 R2 Essentials 概要

http://www.microsoft.com/ja-jp/server-cloud/windows-server-essentials/windows-server-2012-r2-essentials.aspx

Windows Server 2012 R2 Essentials データシート

http://download.microsoft.com/download/8/0/8/808AC0BA-BA9B-4D65-8F00-E36E0A037D8B/Windows_Server_2012_R2_Essentials_Datasheet_jp.pdf

Windows Server 2012 R2 Essentials ホワイトペーパー

http://download.microsoft.com/download/8/0/8/808AC0BA-BA9B-4D65-8F00-E36E0A037D8B/Windows_Server_2012_R2_Essentials_Overview_whitepaper_jp.pdf


Recommended