2016.09.10 System Center User Group Japan 第15回勉強会のセッション資料です。サンプルコードは GitHub で公開します。
PowerShell DSC の概要(おさらい)と PowerShell DSC for Linux の利用方法、さらに Azure Automation DSC を使用した Aure VM の構成についてお話しました。PowerShell Core for Linux についても簡単にまとめています。
2016.09.10 System Center User Group Japan 第15回勉強会のセッション資料です。サンプルコードは GitHub で公開します。
PowerShell DSC の概要(おさらい)と PowerShell DSC for Linux の利用方法、さらに Azure Automation DSC を使用した Aure VM の構成についてお話しました。PowerShell Core for Linux についても簡単にまとめています。
Windows Server 2016 で作るシンプルなハイパーコンバージドインフラ (Microsoft TechSummit 2016)Takamasa Maejima
2016年11月に開催された Microsoft TechSummit 2016 での、Windows Server 2016 ストレージ機能 (SDS) を活用したハイパーコンバージドインフラ (HCI) に関するセッションスライドです。
[イベント名] Microsoft TechSummit 2016
[開催日] 2016年11月1日
[セッションID] CDP-002
[セッションタイトル] Windows Server 2016 で作るシンプルなハイパーコンバージドインフラ
This document provides an overview of Windows administration and management tools. It introduces Windows PowerShell and its capabilities for remotely managing Windows systems. It also discusses tools like WMI, Sysinternals utilities, and commands for managing disks, networks, processes and more. The document recommends using PowerShell for automation and scripting of administrative tasks for ease and flexibility.
6. Windows XP や 2003, Vista, 2008 への対応は?
ダウンロードセンターにて公開
http://support.microsoft.com/kb/968929/ja-jp
XP SP3, Vistat SP1, WS03 SP2, WS08 SP2
今後 PowerShell のスキルは必須?
必須ではありませんが、かなりラクできます
今から始めるなら PowerShell がおすすめ
VBScript、コマンドプロンプトはなくなるの?
引き続きサポートされます
7. PowerShell 1.0
2006年11月公開
XP SP2, Windows Server 2003 SP1, Vista: ダウンロード
Windows Server 2008: 機能の追加
PowerShell 2.0
Windows 7, Windows Server 2008 R2 標準装備
既定で有効。無効化、削除はできない
Server Core では既定で無効
PowerShell 1.0 を置き換え (上位互換)
その他の OS 向けにダウンロードセンターにて公開
Windows Server 2003 SP2, 2008 SP2
Windows XP SP3, Windows Vista SP1
http://support.microsoft.com/kb/968929/ja-jp
Get-Host でバージョン取得
8. 初回起動
Windows 7, Windows Server 2008 R2
ゕクセサリ – Windows PowerShell から起動
タスクバーにピン止めしておきましょう
ヘルプ、ISE、管理者権限
Server Core では機能追加
Windows XP, Windows Server 2003, 2008
ダウンロードセンターからダウンロード
ンストール
22. Windows PowerShell の広がり
サーバー製品に PowerShell のスナップン
Exchange Server
2007, 2010, Live@Edu
System Center
Operations Manager 2007
Virtual Machine Manager 2007
Data Protection Manager 2007
Windows Server 2008 R2
Windows 7
Windows Azure
複数のスナップンを読み込んでシームレスな管理
GUI と CUI の連続性
1度きりの作業、1回目の作業は GUI (ウゖザード)
繰り返し作業、自動化は CUI (スクリプト)
23.
24. 管理ツール UI
(例: Active Directory
管理センター)
自動化
プラットフォーム
(例: AD コマンドレット)
オブジェクトモデル
(Active Directory)
GUI と CUI で同様の作業が可能に 30
25. Windows Server 2008 R2
サーバーの運用管理に本格的に活用
Active Directory
グループポリシー
Server Manager
IIS
リモートデスクトップサービス
フェールオーバークラスタリング
Best Practices
その他…
共通管理基盤としての PowerShell 31
28. Windows 7 Resource Kit PowerShell Pack
http://code.msdn.microsoft.com/PowerShellPack
Module Description
Create rich user interfaces quick and easily from Windows PowerShell. Think
WPK
HTA, but easy. Over 600 scripts to help you build quick user interfaces
TaskScheduler List scheduled tasks, create or delete tasks
FileSystem Monitor files and folders, check for duplicate files, and check disk space
Supercharge your scripting in the Integrated Scripting Environment with over
IsePack
35 shortcuts
Explore loaded types, find commands that can work with a type, and explore
DotNet
how you can use PowerShell, DotNet and COM together
PSImageTools Convert, rotate, scale, and crop images and get image metadata
PSRSS Harness the FeedStore from PowerShell
PSSystemTools Get Operating System or Hardware Information
Get the users on a system, check for elevation, and start-
PSUserTools
processaadministrator
PSCodeGen Generates PowerShell scripts, C# code, and P/Invoke