SlideShare a Scribd company logo
1 of 13
Download to read offline
3分クッキング
Windows Azure
PowerShell
SYSTEM CENTER & AZURE NIGHT!! (2014.03.28)
高井 一輝 – SYSTEM CENTER USER GROUP JAPAN
自己紹介
 高井 一輝 (Takai Kazuki)
 某 ISP 勤務
 主な仕事 : クラウドとオンプレミスを組み合わせたインテグレーション
 見積り、提案書の作成から設計、構築、試験、運用まで
 ネットワーク、サーバ (Windows、Linux)
 System Center User Group Japan (SCUGJ)
 Twitter : @zhuky7
 Facebook : kazuki.takai
 Blog : Operations Lab. http://operationslab.wordpress.com/
Contents
 Windows Azure を PowerShell から管理できるようにする
 Azure 管理ポータルの代わりに PowerShell を使用
 仮想マシンの内部(OS)の管理・構成は別途
PowerShell で Azure を管理
1. Windows Azure PowerShell をインストール
2. 管理者権限で PowerShell を起動し、以下のコマンドレットを入力
 Add-AzureAccount
3. アカウントとパスワードを入力
以上!!
ダウンロード
 Windows Azure SDK のページから、PowerShell モジュールをダウンロード
 http://www.windowsazure.com/ja-jp/downloads/
 画面の下の方
 ダブルクリックすると WebPI が起動し、Azure PowerShell が自動的に選択さ
れるので、そのまま「インストール」をクリック
 古いバージョンが入っている場合も、基本的には同じ操作でアップデート可能
 依存するモジュールも同時にインストール(自動的に選択される)
インストール
アカウントの登録
 PowerShell 環境へ Windows Azure のアカウント・サブスクリプションを登録
 Add-AzureAccount
 ポップアップで認証画面が表示されるので、アカウントとパスワードを入力
 自動で、サブスクリプションの情報や Azure へアクセスするための情報が
構成、登録される
 確認は以下のコマンド
 Get-AzureAccount
 Get-AzureSubscription
アカウントの登録
参考:古いやり方
 Get-AzurePublishSettingsFile コマンドレットを実行
 ブラウザが起動し、Azure の認証画面が表示
 アカウントとパスワードを入力してログイン
 ログイン後の画面から、Azure アクセス用の構成(設定)ファイルをダウンロード
 ダウンロードしたファイルを、Import-AzurePublishSettingsFile でロード
注意点
 一度登録したサブスクリプション情報は、PowerShell を終了しても保持される
 初期設定は一度だけやればよい
 複数のサブスクリプションを使い分けたい場合は注意が必要
 Select-Subscription
まとめ
 PowerShell の初期設定がとても簡単になった
 一通り管理ポータルを触ったら、次は PowerShell を!
 管理ポータルからは設定できない項目も PowerShell からは設定可能
参考資料
 Windows Azure ダウンロード
http://www.windowsazure.com/ja-jp/downloads/
 How to install and configure Windows Azure PowerShell
http://www.windowsazure.com/en-us/documentation/articles/install-
configure-powershell/
 Windows Azure Script Center
http://www.windowsazure.com/en-us/documentation/scripts/
ご清聴ありがとうございました

More Related Content

More from Kazuki Takai

Azure Arc Jumpstart - Azure ArcBox を使った Azure Arc 対応 SQL MI 学習環境の構築
Azure Arc Jumpstart - Azure ArcBox を使った Azure Arc 対応 SQL MI 学習環境の構築Azure Arc Jumpstart - Azure ArcBox を使った Azure Arc 対応 SQL MI 学習環境の構築
Azure Arc Jumpstart - Azure ArcBox を使った Azure Arc 対応 SQL MI 学習環境の構築Kazuki Takai
 
Azure Arc Jumpstart Update - HCIBox Edition
Azure Arc Jumpstart Update - HCIBox EditionAzure Arc Jumpstart Update - HCIBox Edition
Azure Arc Jumpstart Update - HCIBox EditionKazuki Takai
 
ArcBox のおさらいと最新情報
ArcBox のおさらいと最新情報ArcBox のおさらいと最新情報
ArcBox のおさらいと最新情報Kazuki Takai
 
Arc 対応サーバーへの SSH アクセス
Arc 対応サーバーへの SSH アクセスArc 対応サーバーへの SSH アクセス
Arc 対応サーバーへの SSH アクセスKazuki Takai
 
Insight into Azure Active Directory #02 - Azure AD B2B Collaboration New Feat...
Insight into Azure Active Directory #02 - Azure AD B2B Collaboration New Feat...Insight into Azure Active Directory #02 - Azure AD B2B Collaboration New Feat...
Insight into Azure Active Directory #02 - Azure AD B2B Collaboration New Feat...Kazuki Takai
 
Insight into Azure Active Directory - Azure AD Custom Role & Scope
Insight into Azure Active Directory - Azure AD Custom Role & ScopeInsight into Azure Active Directory - Azure AD Custom Role & Scope
Insight into Azure Active Directory - Azure AD Custom Role & ScopeKazuki Takai
 
最近の PowerShell について
最近の PowerShell について最近の PowerShell について
最近の PowerShell についてKazuki Takai
 
Windows Server 2022 Datacenter Azure Edition Overview
Windows Server 2022 Datacenter Azure Edition OverviewWindows Server 2022 Datacenter Azure Edition Overview
Windows Server 2022 Datacenter Azure Edition OverviewKazuki Takai
 
Past and Future of PowerShell
Past and Future of PowerShellPast and Future of PowerShell
Past and Future of PowerShellKazuki Takai
 
Introducing Windows Terminal
Introducing Windows TerminalIntroducing Windows Terminal
Introducing Windows TerminalKazuki Takai
 
Recap: Windows Server 2019 Failover Clustering
Recap: Windows Server 2019 Failover ClusteringRecap: Windows Server 2019 Failover Clustering
Recap: Windows Server 2019 Failover ClusteringKazuki Takai
 
使ってみよう PowerShell
使ってみよう PowerShell使ってみよう PowerShell
使ってみよう PowerShellKazuki Takai
 
5分で分かる Windows Server 2019 HCI 超概要
5分で分かる Windows Server 2019 HCI 超概要5分で分かる Windows Server 2019 HCI 超概要
5分で分かる Windows Server 2019 HCI 超概要Kazuki Takai
 
Application Platform としての Windows Server 2019
Application Platform としての Windows Server 2019Application Platform としての Windows Server 2019
Application Platform としての Windows Server 2019Kazuki Takai
 
Windows Server 2019 で Container を使ってみる
Windows Server 2019 で Container を使ってみるWindows Server 2019 で Container を使ってみる
Windows Server 2019 で Container を使ってみるKazuki Takai
 
Getting started with Windows Containers
Getting started with Windows ContainersGetting started with Windows Containers
Getting started with Windows ContainersKazuki Takai
 
Recap: PowerShell Core
Recap: PowerShell CoreRecap: PowerShell Core
Recap: PowerShell CoreKazuki Takai
 
Windows とコンテナの話
Windows とコンテナの話Windows とコンテナの話
Windows とコンテナの話Kazuki Takai
 

More from Kazuki Takai (20)

Azure Arc Jumpstart - Azure ArcBox を使った Azure Arc 対応 SQL MI 学習環境の構築
Azure Arc Jumpstart - Azure ArcBox を使った Azure Arc 対応 SQL MI 学習環境の構築Azure Arc Jumpstart - Azure ArcBox を使った Azure Arc 対応 SQL MI 学習環境の構築
Azure Arc Jumpstart - Azure ArcBox を使った Azure Arc 対応 SQL MI 学習環境の構築
 
Azure Arc Jumpstart Update - HCIBox Edition
Azure Arc Jumpstart Update - HCIBox EditionAzure Arc Jumpstart Update - HCIBox Edition
Azure Arc Jumpstart Update - HCIBox Edition
 
ArcBox のおさらいと最新情報
ArcBox のおさらいと最新情報ArcBox のおさらいと最新情報
ArcBox のおさらいと最新情報
 
Arc 対応サーバーへの SSH アクセス
Arc 対応サーバーへの SSH アクセスArc 対応サーバーへの SSH アクセス
Arc 対応サーバーへの SSH アクセス
 
Insight into Azure Active Directory #02 - Azure AD B2B Collaboration New Feat...
Insight into Azure Active Directory #02 - Azure AD B2B Collaboration New Feat...Insight into Azure Active Directory #02 - Azure AD B2B Collaboration New Feat...
Insight into Azure Active Directory #02 - Azure AD B2B Collaboration New Feat...
 
Insight into Azure Active Directory - Azure AD Custom Role & Scope
Insight into Azure Active Directory - Azure AD Custom Role & ScopeInsight into Azure Active Directory - Azure AD Custom Role & Scope
Insight into Azure Active Directory - Azure AD Custom Role & Scope
 
最近の PowerShell について
最近の PowerShell について最近の PowerShell について
最近の PowerShell について
 
Windows Server 2022 Datacenter Azure Edition Overview
Windows Server 2022 Datacenter Azure Edition OverviewWindows Server 2022 Datacenter Azure Edition Overview
Windows Server 2022 Datacenter Azure Edition Overview
 
Azure Arc 概要
Azure Arc 概要Azure Arc 概要
Azure Arc 概要
 
Past and Future of PowerShell
Past and Future of PowerShellPast and Future of PowerShell
Past and Future of PowerShell
 
Introducing Windows Terminal
Introducing Windows TerminalIntroducing Windows Terminal
Introducing Windows Terminal
 
Recap: Windows Server 2019 Failover Clustering
Recap: Windows Server 2019 Failover ClusteringRecap: Windows Server 2019 Failover Clustering
Recap: Windows Server 2019 Failover Clustering
 
使ってみよう PowerShell
使ってみよう PowerShell使ってみよう PowerShell
使ってみよう PowerShell
 
5分で分かる Windows Server 2019 HCI 超概要
5分で分かる Windows Server 2019 HCI 超概要5分で分かる Windows Server 2019 HCI 超概要
5分で分かる Windows Server 2019 HCI 超概要
 
Application Platform としての Windows Server 2019
Application Platform としての Windows Server 2019Application Platform としての Windows Server 2019
Application Platform としての Windows Server 2019
 
Windows Server 2019 で Container を使ってみる
Windows Server 2019 で Container を使ってみるWindows Server 2019 で Container を使ってみる
Windows Server 2019 で Container を使ってみる
 
Getting started with Windows Containers
Getting started with Windows ContainersGetting started with Windows Containers
Getting started with Windows Containers
 
Recap: PowerShell Core
Recap: PowerShell CoreRecap: PowerShell Core
Recap: PowerShell Core
 
Windows とコンテナの話
Windows とコンテナの話Windows とコンテナの話
Windows とコンテナの話
 
DSC 再入門
DSC 再入門DSC 再入門
DSC 再入門
 

Recently uploaded

論文紹介:Automated Classification of Model Errors on ImageNet
論文紹介:Automated Classification of Model Errors on ImageNet論文紹介:Automated Classification of Model Errors on ImageNet
論文紹介:Automated Classification of Model Errors on ImageNetToru Tamaki
 
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)Hiroki Ichikura
 
論文紹介:Semantic segmentation using Vision Transformers: A survey
論文紹介:Semantic segmentation using Vision Transformers: A survey論文紹介:Semantic segmentation using Vision Transformers: A survey
論文紹介:Semantic segmentation using Vision Transformers: A surveyToru Tamaki
 
[DevOpsDays Tokyo 2024] 〜デジタルとアナログのはざまに〜 スマートビルディング爆速開発を支える 自動化テスト戦略
[DevOpsDays Tokyo 2024] 〜デジタルとアナログのはざまに〜 スマートビルディング爆速開発を支える 自動化テスト戦略[DevOpsDays Tokyo 2024] 〜デジタルとアナログのはざまに〜 スマートビルディング爆速開発を支える 自動化テスト戦略
[DevOpsDays Tokyo 2024] 〜デジタルとアナログのはざまに〜 スマートビルディング爆速開発を支える 自動化テスト戦略Ryo Sasaki
 
Postman LT Fukuoka_Quick Prototype_By Daniel
Postman LT Fukuoka_Quick Prototype_By DanielPostman LT Fukuoka_Quick Prototype_By Daniel
Postman LT Fukuoka_Quick Prototype_By Danieldanielhu54
 
スマートフォンを用いた新生児あやし動作の教示システム
スマートフォンを用いた新生児あやし動作の教示システムスマートフォンを用いた新生児あやし動作の教示システム
スマートフォンを用いた新生児あやし動作の教示システムsugiuralab
 
SOPを理解する 2024/04/19 の勉強会で発表されたものです
SOPを理解する       2024/04/19 の勉強会で発表されたものですSOPを理解する       2024/04/19 の勉強会で発表されたものです
SOPを理解する 2024/04/19 の勉強会で発表されたものですiPride Co., Ltd.
 
TSAL operation mechanism and circuit diagram.pdf
TSAL operation mechanism and circuit diagram.pdfTSAL operation mechanism and circuit diagram.pdf
TSAL operation mechanism and circuit diagram.pdftaisei2219
 
論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...
論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...
論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...Toru Tamaki
 
Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介
Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介
Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介Yuma Ohgami
 

Recently uploaded (10)

論文紹介:Automated Classification of Model Errors on ImageNet
論文紹介:Automated Classification of Model Errors on ImageNet論文紹介:Automated Classification of Model Errors on ImageNet
論文紹介:Automated Classification of Model Errors on ImageNet
 
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)
 
論文紹介:Semantic segmentation using Vision Transformers: A survey
論文紹介:Semantic segmentation using Vision Transformers: A survey論文紹介:Semantic segmentation using Vision Transformers: A survey
論文紹介:Semantic segmentation using Vision Transformers: A survey
 
[DevOpsDays Tokyo 2024] 〜デジタルとアナログのはざまに〜 スマートビルディング爆速開発を支える 自動化テスト戦略
[DevOpsDays Tokyo 2024] 〜デジタルとアナログのはざまに〜 スマートビルディング爆速開発を支える 自動化テスト戦略[DevOpsDays Tokyo 2024] 〜デジタルとアナログのはざまに〜 スマートビルディング爆速開発を支える 自動化テスト戦略
[DevOpsDays Tokyo 2024] 〜デジタルとアナログのはざまに〜 スマートビルディング爆速開発を支える 自動化テスト戦略
 
Postman LT Fukuoka_Quick Prototype_By Daniel
Postman LT Fukuoka_Quick Prototype_By DanielPostman LT Fukuoka_Quick Prototype_By Daniel
Postman LT Fukuoka_Quick Prototype_By Daniel
 
スマートフォンを用いた新生児あやし動作の教示システム
スマートフォンを用いた新生児あやし動作の教示システムスマートフォンを用いた新生児あやし動作の教示システム
スマートフォンを用いた新生児あやし動作の教示システム
 
SOPを理解する 2024/04/19 の勉強会で発表されたものです
SOPを理解する       2024/04/19 の勉強会で発表されたものですSOPを理解する       2024/04/19 の勉強会で発表されたものです
SOPを理解する 2024/04/19 の勉強会で発表されたものです
 
TSAL operation mechanism and circuit diagram.pdf
TSAL operation mechanism and circuit diagram.pdfTSAL operation mechanism and circuit diagram.pdf
TSAL operation mechanism and circuit diagram.pdf
 
論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...
論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...
論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...
 
Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介
Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介
Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介
 

3分クッキング Windows Azure PowerShell

  • 1. 3分クッキング Windows Azure PowerShell SYSTEM CENTER & AZURE NIGHT!! (2014.03.28) 高井 一輝 – SYSTEM CENTER USER GROUP JAPAN
  • 2. 自己紹介  高井 一輝 (Takai Kazuki)  某 ISP 勤務  主な仕事 : クラウドとオンプレミスを組み合わせたインテグレーション  見積り、提案書の作成から設計、構築、試験、運用まで  ネットワーク、サーバ (Windows、Linux)  System Center User Group Japan (SCUGJ)  Twitter : @zhuky7  Facebook : kazuki.takai  Blog : Operations Lab. http://operationslab.wordpress.com/
  • 3. Contents  Windows Azure を PowerShell から管理できるようにする  Azure 管理ポータルの代わりに PowerShell を使用  仮想マシンの内部(OS)の管理・構成は別途
  • 4. PowerShell で Azure を管理 1. Windows Azure PowerShell をインストール 2. 管理者権限で PowerShell を起動し、以下のコマンドレットを入力  Add-AzureAccount 3. アカウントとパスワードを入力 以上!!
  • 5. ダウンロード  Windows Azure SDK のページから、PowerShell モジュールをダウンロード  http://www.windowsazure.com/ja-jp/downloads/  画面の下の方  ダブルクリックすると WebPI が起動し、Azure PowerShell が自動的に選択さ れるので、そのまま「インストール」をクリック  古いバージョンが入っている場合も、基本的には同じ操作でアップデート可能  依存するモジュールも同時にインストール(自動的に選択される)
  • 7. アカウントの登録  PowerShell 環境へ Windows Azure のアカウント・サブスクリプションを登録  Add-AzureAccount  ポップアップで認証画面が表示されるので、アカウントとパスワードを入力  自動で、サブスクリプションの情報や Azure へアクセスするための情報が 構成、登録される  確認は以下のコマンド  Get-AzureAccount  Get-AzureSubscription
  • 9. 参考:古いやり方  Get-AzurePublishSettingsFile コマンドレットを実行  ブラウザが起動し、Azure の認証画面が表示  アカウントとパスワードを入力してログイン  ログイン後の画面から、Azure アクセス用の構成(設定)ファイルをダウンロード  ダウンロードしたファイルを、Import-AzurePublishSettingsFile でロード
  • 10. 注意点  一度登録したサブスクリプション情報は、PowerShell を終了しても保持される  初期設定は一度だけやればよい  複数のサブスクリプションを使い分けたい場合は注意が必要  Select-Subscription
  • 11. まとめ  PowerShell の初期設定がとても簡単になった  一通り管理ポータルを触ったら、次は PowerShell を!  管理ポータルからは設定できない項目も PowerShell からは設定可能
  • 12. 参考資料  Windows Azure ダウンロード http://www.windowsazure.com/ja-jp/downloads/  How to install and configure Windows Azure PowerShell http://www.windowsazure.com/en-us/documentation/articles/install- configure-powershell/  Windows Azure Script Center http://www.windowsazure.com/en-us/documentation/scripts/