整合 Microsoft Operations Management Suite...

105
1/105 11:15 曹祖聖 台灣微軟資深講師 [email protected] http://teacher.syset.com MCP, MCP+I, MCSA, MCSE, MCDBA, MCAD, MCSD, MCTS, MCITP, MCPD, MCT, MVP

Transcript of 整合 Microsoft Operations Management Suite...

Page 1: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

1105 1115

曹祖聖

台灣微軟資深講師

jimycaosysetcom

httpteachersysetcom

MCP MCP+I MCSA MCSE MCDBA MCAD MCSD MCTS MCITP MCPD MCT MVP

2105 1115

3105 1115

關於自動化

4105 1115

開發與 IT 角色的關係TEMPLATES

DASHBOARDS

ALERTS

SELF-SERVICE

AUTOMATION

DELEGATION

POLICIES

VISIBILITY

HEALTH

LIBRARY

ACCESS

UPDATES

WORKFLOW

控制

報表

監控

確保一致性

安全性

上架

動作整合

校正與補救

服務提供

身份識別

部署

生命週期管理

流程整合

服務提供與自動化

基礎架構管理

HYPERVISOR

OS OS

HYPERVISOR

OS OS

HYPERVISOR

OS OS

HYPERVISOR

OS OS

SCALABLEMULTI-PLATFORM ABSTRACTED

服務消費者

應用程式開發人員

資料中心管理員

服務提供者使用量效能

自助服務

應用程式

商業需求

商業流程

服務清單 SLA

成本

應用程式管理 S

QL

SE

RV

ER

ER

P SH

AR

EP

OIN

T S

ER

VE

R

MU

LT

I-T

IER

CU

ST

OM

LO

B A

PP

LIC

AT

ION

AN

AL

YT

ICS

VD

I

CR

M

CU

ST

OM

ER

DE

MO

GR

AP

HIC

S

WE

B

5105 1115

減少人工錯誤提升效率

減少花時間容易犯錯的雲端管理工作

使用 Runbook Gallery 中的自動化範例程式

視覺化監測自動化活動

建立監控管理與部署雲端資源

即刻可用的 runbook範例與工具 使用儀表板與報表來監控runbook執行狀況

6105 1115

使用標準 Internet API 整合Azure 與外部服務

更快速一致的服務部署

自動化活動報表

透過有效的處理程序提供更可靠的自動化流程

使用報表詳細追蹤自動化活動整合你需要的服務

7105 1115

標準化服務消費者

服務提供者

自助服務

自動化

流程

系統

8105 1115

18 分鐘

IT 工作流程自動化之前

派工單遞送相關資料檢驗事件

收集服務資料檢查已知問題 收到工單 解決問題

結案製作報告

檢驗解決方案

7 分鐘20 分鐘 10 分鐘 3 分鐘7 分鐘 3 分鐘

總共花費 68 分鐘

事件分類 診斷 尋求協助 修正 回報

有太多人為的不確定性

9105 1115

Orchestrator 提供私有雲自動化基礎

降低成本且改善可預測的不穩定性

讓 IT 人員聚焦在更有價值的工作上

減少人工處理所需的成本

自動化

提供彈性且可靠的服務

使用彈性的流程提昇IT 人員的時間價值

透過工具系統資源改善服務的穩定性

編配

最佳化並延伸既有投資

使用 Integration Packs

整合異質系統

使用 Orchestrator

Integration Toolkit 客製製化其它系統的Integration Packs

整合

10105 1115

OpenView Operations

服務

管理

配置

組態設定

監控

保護

混合環境最佳化和 System Center 2012 緊密整合

HP Service Manager SoftwareMake your IT service desk enterprise strength

Orchestrator 整合一切

11105 1116

變動上線

應用程式服務管理

異動與一致性檢查

監控要求

初始化異動

建立部署

複製虛擬機器

建立 VHD

建立伺服器

連接網路

將 VHD 連接㺫虛擬機器

將伺服器關聯至服務

更新 CMDB結案意

外回應

改善服務的可靠性

事件管理

服務受理

資產管理 CMDB

組態設定

虛擬化

安全性

儲存區

伺服器

網路

加速整體的反應時間

IT 工作 跨工作全自動整合

Orchestrator 如何自動化 IT 流程

虛擬機器生命週期管理

12105 1116

讓 IT 人員專心處理特殊的意外事件

1 分鐘1 分鐘 1 分鐘 3 分鐘 幾秒鐘1 分鐘 幾秒鐘

總共花費不到 8 分鐘

因為自動化所以速度快品質一致服務可預期

IT 工作流程自動化之後

派工單遞送相關資料檢驗事件

收集服務資料檢查已知問題 收到工單 解決問題

結案製作報告

檢驗解決方案

事件分類 診斷 尋求協助 修正 回報

13105 1116

Orchestrator 架構設計與建置

14105 1116

15105 1116

httptechnetmicrosoftcomen-uslibraryhh420361aspx

16105 1116

17105 1116

18105 1116

19105 1116

20105 1116

21105 1116

22105 1116

Runbook設計與執行

23105 1116

24105 1116

25105 1116

26105 1116

通知 稽核

流程

錯誤處理

27105 1116

28105 1116

29105 1116

30105 1116

31105 1116

2 定義迴圈結束條件

1 啓用迴圈

32105 1116

33105 1116

34105 1116

撰寫指令碼

35105 1116

36105 1116

$p1 = aaa從 初始化資料

$p2 = bbb 從 初始化資料

$Session = New-PSSession -ComputerName SVR1

$ResultArray = Invoke-Command -Session $Session

-ArgumentList $p1 $p2 $p3 -ScriptBlock

Param ( $p1 $p2 $p3 )

要執行的指令Return (xxx yyy hellip)

Remove-PSSession -Session $Session

$data1 = ResultArray[0] 取得 xxx

$data2 = ResultArray[1] 取得 yyy

37105 1116

[SystemReflectionAssembly]LoadWithPartialName(SystemWindowsForms)

$MsgBox = [SystemWindowsFormsMessageBox]

$MsgBoxShow(Hello World)

$result = $MsgBoxShow(Are you sure Title 4)

if ($result -eq Yes)

$MsgBoxShow(YES)

else

$MsgBoxShow(NO)

38105 1116

39105 1116

httpmsdnmicrosoftcomen-uslibraryhh921685aspx

httporchestratorcodeplexcomreleasesview87873

httporchestratorcodeplexcomreleasesview82959

40105 1116

51f9b950-6e33-465d-bc77-4d33e61831ff

41105 1116

-getparameters

42105 1116

43105 1116

44105 1116

45105 1116

整合其它系統 ndash Integration Packs

46105 1116

1

2

47105 1116

48105 1116

bull TFS

bull PowerShell

bull SharePoint

bull Active Directory

bull Exchange Mail and

Calendaring

bull Local Security

bull Scheduled Tasks

bull Utilities

bull Social media (Twitter)

bull Text Manipulation

bull F5

bull VMWare

bull Configuration Manager

2007

bull 4 BMC IPs- Kelverion

bull Dell -AIM IP

bull NetApp- OCPM IP

bull Cisco- UCS IP

bull Cisco- NCM

JaxMPFyrsoft

bull Kelverion- DBs IP

bull Kelverion-ServiceNow IP

bull Kelverion-Data

Manipulation IP

bull Kelverion-HTTP

Applications IP

bull Vision Solutions-

DoubleTake IP

bull VMWare vSphere

bull IBM Tivoli Netcool

bull HP OM

bull HP SM

bull HP iLo

bull Active Directory

bull MS Exchange User

bull MS Exchange Admin

bull FTP

bull New features added to

VMWare vSphere

bull REST

bull SharePoint

bull Windows Azure

微軟 協力廠商 Codeplex 社群

49105 1116

httpwwwmicrosoftcomen-usdownloaddetailsaspxid=39622

httptechnetmicrosoftcomen-uslibraryhh295851aspx

Codeplex社群 httporchestratorcodeplexcom

50105 1116

51105 1116

httpmsdnmicrosoftcomen-uslibraryhh855855aspx

很容易擴展的平臺

52105 1116

很容易擴展的平臺

53105 1116

54105 1116

Runbook偵錯與事件記錄

55105 1116

56105 1116

57105 1116

58105 1116

59105 1116

60105 1116

ltruntimegt

ltgeneratePublisherEvidence enabled=falsegt

ltruntimegt

61105 1116

aspt RunbookServer1 40

aspt 40

62105 1116

Service Management Automation (SMA) 介紹

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 2: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

2105 1115

3105 1115

關於自動化

4105 1115

開發與 IT 角色的關係TEMPLATES

DASHBOARDS

ALERTS

SELF-SERVICE

AUTOMATION

DELEGATION

POLICIES

VISIBILITY

HEALTH

LIBRARY

ACCESS

UPDATES

WORKFLOW

控制

報表

監控

確保一致性

安全性

上架

動作整合

校正與補救

服務提供

身份識別

部署

生命週期管理

流程整合

服務提供與自動化

基礎架構管理

HYPERVISOR

OS OS

HYPERVISOR

OS OS

HYPERVISOR

OS OS

HYPERVISOR

OS OS

SCALABLEMULTI-PLATFORM ABSTRACTED

服務消費者

應用程式開發人員

資料中心管理員

服務提供者使用量效能

自助服務

應用程式

商業需求

商業流程

服務清單 SLA

成本

應用程式管理 S

QL

SE

RV

ER

ER

P SH

AR

EP

OIN

T S

ER

VE

R

MU

LT

I-T

IER

CU

ST

OM

LO

B A

PP

LIC

AT

ION

AN

AL

YT

ICS

VD

I

CR

M

CU

ST

OM

ER

DE

MO

GR

AP

HIC

S

WE

B

5105 1115

減少人工錯誤提升效率

減少花時間容易犯錯的雲端管理工作

使用 Runbook Gallery 中的自動化範例程式

視覺化監測自動化活動

建立監控管理與部署雲端資源

即刻可用的 runbook範例與工具 使用儀表板與報表來監控runbook執行狀況

6105 1115

使用標準 Internet API 整合Azure 與外部服務

更快速一致的服務部署

自動化活動報表

透過有效的處理程序提供更可靠的自動化流程

使用報表詳細追蹤自動化活動整合你需要的服務

7105 1115

標準化服務消費者

服務提供者

自助服務

自動化

流程

系統

8105 1115

18 分鐘

IT 工作流程自動化之前

派工單遞送相關資料檢驗事件

收集服務資料檢查已知問題 收到工單 解決問題

結案製作報告

檢驗解決方案

7 分鐘20 分鐘 10 分鐘 3 分鐘7 分鐘 3 分鐘

總共花費 68 分鐘

事件分類 診斷 尋求協助 修正 回報

有太多人為的不確定性

9105 1115

Orchestrator 提供私有雲自動化基礎

降低成本且改善可預測的不穩定性

讓 IT 人員聚焦在更有價值的工作上

減少人工處理所需的成本

自動化

提供彈性且可靠的服務

使用彈性的流程提昇IT 人員的時間價值

透過工具系統資源改善服務的穩定性

編配

最佳化並延伸既有投資

使用 Integration Packs

整合異質系統

使用 Orchestrator

Integration Toolkit 客製製化其它系統的Integration Packs

整合

10105 1115

OpenView Operations

服務

管理

配置

組態設定

監控

保護

混合環境最佳化和 System Center 2012 緊密整合

HP Service Manager SoftwareMake your IT service desk enterprise strength

Orchestrator 整合一切

11105 1116

變動上線

應用程式服務管理

異動與一致性檢查

監控要求

初始化異動

建立部署

複製虛擬機器

建立 VHD

建立伺服器

連接網路

將 VHD 連接㺫虛擬機器

將伺服器關聯至服務

更新 CMDB結案意

外回應

改善服務的可靠性

事件管理

服務受理

資產管理 CMDB

組態設定

虛擬化

安全性

儲存區

伺服器

網路

加速整體的反應時間

IT 工作 跨工作全自動整合

Orchestrator 如何自動化 IT 流程

虛擬機器生命週期管理

12105 1116

讓 IT 人員專心處理特殊的意外事件

1 分鐘1 分鐘 1 分鐘 3 分鐘 幾秒鐘1 分鐘 幾秒鐘

總共花費不到 8 分鐘

因為自動化所以速度快品質一致服務可預期

IT 工作流程自動化之後

派工單遞送相關資料檢驗事件

收集服務資料檢查已知問題 收到工單 解決問題

結案製作報告

檢驗解決方案

事件分類 診斷 尋求協助 修正 回報

13105 1116

Orchestrator 架構設計與建置

14105 1116

15105 1116

httptechnetmicrosoftcomen-uslibraryhh420361aspx

16105 1116

17105 1116

18105 1116

19105 1116

20105 1116

21105 1116

22105 1116

Runbook設計與執行

23105 1116

24105 1116

25105 1116

26105 1116

通知 稽核

流程

錯誤處理

27105 1116

28105 1116

29105 1116

30105 1116

31105 1116

2 定義迴圈結束條件

1 啓用迴圈

32105 1116

33105 1116

34105 1116

撰寫指令碼

35105 1116

36105 1116

$p1 = aaa從 初始化資料

$p2 = bbb 從 初始化資料

$Session = New-PSSession -ComputerName SVR1

$ResultArray = Invoke-Command -Session $Session

-ArgumentList $p1 $p2 $p3 -ScriptBlock

Param ( $p1 $p2 $p3 )

要執行的指令Return (xxx yyy hellip)

Remove-PSSession -Session $Session

$data1 = ResultArray[0] 取得 xxx

$data2 = ResultArray[1] 取得 yyy

37105 1116

[SystemReflectionAssembly]LoadWithPartialName(SystemWindowsForms)

$MsgBox = [SystemWindowsFormsMessageBox]

$MsgBoxShow(Hello World)

$result = $MsgBoxShow(Are you sure Title 4)

if ($result -eq Yes)

$MsgBoxShow(YES)

else

$MsgBoxShow(NO)

38105 1116

39105 1116

httpmsdnmicrosoftcomen-uslibraryhh921685aspx

httporchestratorcodeplexcomreleasesview87873

httporchestratorcodeplexcomreleasesview82959

40105 1116

51f9b950-6e33-465d-bc77-4d33e61831ff

41105 1116

-getparameters

42105 1116

43105 1116

44105 1116

45105 1116

整合其它系統 ndash Integration Packs

46105 1116

1

2

47105 1116

48105 1116

bull TFS

bull PowerShell

bull SharePoint

bull Active Directory

bull Exchange Mail and

Calendaring

bull Local Security

bull Scheduled Tasks

bull Utilities

bull Social media (Twitter)

bull Text Manipulation

bull F5

bull VMWare

bull Configuration Manager

2007

bull 4 BMC IPs- Kelverion

bull Dell -AIM IP

bull NetApp- OCPM IP

bull Cisco- UCS IP

bull Cisco- NCM

JaxMPFyrsoft

bull Kelverion- DBs IP

bull Kelverion-ServiceNow IP

bull Kelverion-Data

Manipulation IP

bull Kelverion-HTTP

Applications IP

bull Vision Solutions-

DoubleTake IP

bull VMWare vSphere

bull IBM Tivoli Netcool

bull HP OM

bull HP SM

bull HP iLo

bull Active Directory

bull MS Exchange User

bull MS Exchange Admin

bull FTP

bull New features added to

VMWare vSphere

bull REST

bull SharePoint

bull Windows Azure

微軟 協力廠商 Codeplex 社群

49105 1116

httpwwwmicrosoftcomen-usdownloaddetailsaspxid=39622

httptechnetmicrosoftcomen-uslibraryhh295851aspx

Codeplex社群 httporchestratorcodeplexcom

50105 1116

51105 1116

httpmsdnmicrosoftcomen-uslibraryhh855855aspx

很容易擴展的平臺

52105 1116

很容易擴展的平臺

53105 1116

54105 1116

Runbook偵錯與事件記錄

55105 1116

56105 1116

57105 1116

58105 1116

59105 1116

60105 1116

ltruntimegt

ltgeneratePublisherEvidence enabled=falsegt

ltruntimegt

61105 1116

aspt RunbookServer1 40

aspt 40

62105 1116

Service Management Automation (SMA) 介紹

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 3: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

3105 1115

關於自動化

4105 1115

開發與 IT 角色的關係TEMPLATES

DASHBOARDS

ALERTS

SELF-SERVICE

AUTOMATION

DELEGATION

POLICIES

VISIBILITY

HEALTH

LIBRARY

ACCESS

UPDATES

WORKFLOW

控制

報表

監控

確保一致性

安全性

上架

動作整合

校正與補救

服務提供

身份識別

部署

生命週期管理

流程整合

服務提供與自動化

基礎架構管理

HYPERVISOR

OS OS

HYPERVISOR

OS OS

HYPERVISOR

OS OS

HYPERVISOR

OS OS

SCALABLEMULTI-PLATFORM ABSTRACTED

服務消費者

應用程式開發人員

資料中心管理員

服務提供者使用量效能

自助服務

應用程式

商業需求

商業流程

服務清單 SLA

成本

應用程式管理 S

QL

SE

RV

ER

ER

P SH

AR

EP

OIN

T S

ER

VE

R

MU

LT

I-T

IER

CU

ST

OM

LO

B A

PP

LIC

AT

ION

AN

AL

YT

ICS

VD

I

CR

M

CU

ST

OM

ER

DE

MO

GR

AP

HIC

S

WE

B

5105 1115

減少人工錯誤提升效率

減少花時間容易犯錯的雲端管理工作

使用 Runbook Gallery 中的自動化範例程式

視覺化監測自動化活動

建立監控管理與部署雲端資源

即刻可用的 runbook範例與工具 使用儀表板與報表來監控runbook執行狀況

6105 1115

使用標準 Internet API 整合Azure 與外部服務

更快速一致的服務部署

自動化活動報表

透過有效的處理程序提供更可靠的自動化流程

使用報表詳細追蹤自動化活動整合你需要的服務

7105 1115

標準化服務消費者

服務提供者

自助服務

自動化

流程

系統

8105 1115

18 分鐘

IT 工作流程自動化之前

派工單遞送相關資料檢驗事件

收集服務資料檢查已知問題 收到工單 解決問題

結案製作報告

檢驗解決方案

7 分鐘20 分鐘 10 分鐘 3 分鐘7 分鐘 3 分鐘

總共花費 68 分鐘

事件分類 診斷 尋求協助 修正 回報

有太多人為的不確定性

9105 1115

Orchestrator 提供私有雲自動化基礎

降低成本且改善可預測的不穩定性

讓 IT 人員聚焦在更有價值的工作上

減少人工處理所需的成本

自動化

提供彈性且可靠的服務

使用彈性的流程提昇IT 人員的時間價值

透過工具系統資源改善服務的穩定性

編配

最佳化並延伸既有投資

使用 Integration Packs

整合異質系統

使用 Orchestrator

Integration Toolkit 客製製化其它系統的Integration Packs

整合

10105 1115

OpenView Operations

服務

管理

配置

組態設定

監控

保護

混合環境最佳化和 System Center 2012 緊密整合

HP Service Manager SoftwareMake your IT service desk enterprise strength

Orchestrator 整合一切

11105 1116

變動上線

應用程式服務管理

異動與一致性檢查

監控要求

初始化異動

建立部署

複製虛擬機器

建立 VHD

建立伺服器

連接網路

將 VHD 連接㺫虛擬機器

將伺服器關聯至服務

更新 CMDB結案意

外回應

改善服務的可靠性

事件管理

服務受理

資產管理 CMDB

組態設定

虛擬化

安全性

儲存區

伺服器

網路

加速整體的反應時間

IT 工作 跨工作全自動整合

Orchestrator 如何自動化 IT 流程

虛擬機器生命週期管理

12105 1116

讓 IT 人員專心處理特殊的意外事件

1 分鐘1 分鐘 1 分鐘 3 分鐘 幾秒鐘1 分鐘 幾秒鐘

總共花費不到 8 分鐘

因為自動化所以速度快品質一致服務可預期

IT 工作流程自動化之後

派工單遞送相關資料檢驗事件

收集服務資料檢查已知問題 收到工單 解決問題

結案製作報告

檢驗解決方案

事件分類 診斷 尋求協助 修正 回報

13105 1116

Orchestrator 架構設計與建置

14105 1116

15105 1116

httptechnetmicrosoftcomen-uslibraryhh420361aspx

16105 1116

17105 1116

18105 1116

19105 1116

20105 1116

21105 1116

22105 1116

Runbook設計與執行

23105 1116

24105 1116

25105 1116

26105 1116

通知 稽核

流程

錯誤處理

27105 1116

28105 1116

29105 1116

30105 1116

31105 1116

2 定義迴圈結束條件

1 啓用迴圈

32105 1116

33105 1116

34105 1116

撰寫指令碼

35105 1116

36105 1116

$p1 = aaa從 初始化資料

$p2 = bbb 從 初始化資料

$Session = New-PSSession -ComputerName SVR1

$ResultArray = Invoke-Command -Session $Session

-ArgumentList $p1 $p2 $p3 -ScriptBlock

Param ( $p1 $p2 $p3 )

要執行的指令Return (xxx yyy hellip)

Remove-PSSession -Session $Session

$data1 = ResultArray[0] 取得 xxx

$data2 = ResultArray[1] 取得 yyy

37105 1116

[SystemReflectionAssembly]LoadWithPartialName(SystemWindowsForms)

$MsgBox = [SystemWindowsFormsMessageBox]

$MsgBoxShow(Hello World)

$result = $MsgBoxShow(Are you sure Title 4)

if ($result -eq Yes)

$MsgBoxShow(YES)

else

$MsgBoxShow(NO)

38105 1116

39105 1116

httpmsdnmicrosoftcomen-uslibraryhh921685aspx

httporchestratorcodeplexcomreleasesview87873

httporchestratorcodeplexcomreleasesview82959

40105 1116

51f9b950-6e33-465d-bc77-4d33e61831ff

41105 1116

-getparameters

42105 1116

43105 1116

44105 1116

45105 1116

整合其它系統 ndash Integration Packs

46105 1116

1

2

47105 1116

48105 1116

bull TFS

bull PowerShell

bull SharePoint

bull Active Directory

bull Exchange Mail and

Calendaring

bull Local Security

bull Scheduled Tasks

bull Utilities

bull Social media (Twitter)

bull Text Manipulation

bull F5

bull VMWare

bull Configuration Manager

2007

bull 4 BMC IPs- Kelverion

bull Dell -AIM IP

bull NetApp- OCPM IP

bull Cisco- UCS IP

bull Cisco- NCM

JaxMPFyrsoft

bull Kelverion- DBs IP

bull Kelverion-ServiceNow IP

bull Kelverion-Data

Manipulation IP

bull Kelverion-HTTP

Applications IP

bull Vision Solutions-

DoubleTake IP

bull VMWare vSphere

bull IBM Tivoli Netcool

bull HP OM

bull HP SM

bull HP iLo

bull Active Directory

bull MS Exchange User

bull MS Exchange Admin

bull FTP

bull New features added to

VMWare vSphere

bull REST

bull SharePoint

bull Windows Azure

微軟 協力廠商 Codeplex 社群

49105 1116

httpwwwmicrosoftcomen-usdownloaddetailsaspxid=39622

httptechnetmicrosoftcomen-uslibraryhh295851aspx

Codeplex社群 httporchestratorcodeplexcom

50105 1116

51105 1116

httpmsdnmicrosoftcomen-uslibraryhh855855aspx

很容易擴展的平臺

52105 1116

很容易擴展的平臺

53105 1116

54105 1116

Runbook偵錯與事件記錄

55105 1116

56105 1116

57105 1116

58105 1116

59105 1116

60105 1116

ltruntimegt

ltgeneratePublisherEvidence enabled=falsegt

ltruntimegt

61105 1116

aspt RunbookServer1 40

aspt 40

62105 1116

Service Management Automation (SMA) 介紹

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 4: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

4105 1115

開發與 IT 角色的關係TEMPLATES

DASHBOARDS

ALERTS

SELF-SERVICE

AUTOMATION

DELEGATION

POLICIES

VISIBILITY

HEALTH

LIBRARY

ACCESS

UPDATES

WORKFLOW

控制

報表

監控

確保一致性

安全性

上架

動作整合

校正與補救

服務提供

身份識別

部署

生命週期管理

流程整合

服務提供與自動化

基礎架構管理

HYPERVISOR

OS OS

HYPERVISOR

OS OS

HYPERVISOR

OS OS

HYPERVISOR

OS OS

SCALABLEMULTI-PLATFORM ABSTRACTED

服務消費者

應用程式開發人員

資料中心管理員

服務提供者使用量效能

自助服務

應用程式

商業需求

商業流程

服務清單 SLA

成本

應用程式管理 S

QL

SE

RV

ER

ER

P SH

AR

EP

OIN

T S

ER

VE

R

MU

LT

I-T

IER

CU

ST

OM

LO

B A

PP

LIC

AT

ION

AN

AL

YT

ICS

VD

I

CR

M

CU

ST

OM

ER

DE

MO

GR

AP

HIC

S

WE

B

5105 1115

減少人工錯誤提升效率

減少花時間容易犯錯的雲端管理工作

使用 Runbook Gallery 中的自動化範例程式

視覺化監測自動化活動

建立監控管理與部署雲端資源

即刻可用的 runbook範例與工具 使用儀表板與報表來監控runbook執行狀況

6105 1115

使用標準 Internet API 整合Azure 與外部服務

更快速一致的服務部署

自動化活動報表

透過有效的處理程序提供更可靠的自動化流程

使用報表詳細追蹤自動化活動整合你需要的服務

7105 1115

標準化服務消費者

服務提供者

自助服務

自動化

流程

系統

8105 1115

18 分鐘

IT 工作流程自動化之前

派工單遞送相關資料檢驗事件

收集服務資料檢查已知問題 收到工單 解決問題

結案製作報告

檢驗解決方案

7 分鐘20 分鐘 10 分鐘 3 分鐘7 分鐘 3 分鐘

總共花費 68 分鐘

事件分類 診斷 尋求協助 修正 回報

有太多人為的不確定性

9105 1115

Orchestrator 提供私有雲自動化基礎

降低成本且改善可預測的不穩定性

讓 IT 人員聚焦在更有價值的工作上

減少人工處理所需的成本

自動化

提供彈性且可靠的服務

使用彈性的流程提昇IT 人員的時間價值

透過工具系統資源改善服務的穩定性

編配

最佳化並延伸既有投資

使用 Integration Packs

整合異質系統

使用 Orchestrator

Integration Toolkit 客製製化其它系統的Integration Packs

整合

10105 1115

OpenView Operations

服務

管理

配置

組態設定

監控

保護

混合環境最佳化和 System Center 2012 緊密整合

HP Service Manager SoftwareMake your IT service desk enterprise strength

Orchestrator 整合一切

11105 1116

變動上線

應用程式服務管理

異動與一致性檢查

監控要求

初始化異動

建立部署

複製虛擬機器

建立 VHD

建立伺服器

連接網路

將 VHD 連接㺫虛擬機器

將伺服器關聯至服務

更新 CMDB結案意

外回應

改善服務的可靠性

事件管理

服務受理

資產管理 CMDB

組態設定

虛擬化

安全性

儲存區

伺服器

網路

加速整體的反應時間

IT 工作 跨工作全自動整合

Orchestrator 如何自動化 IT 流程

虛擬機器生命週期管理

12105 1116

讓 IT 人員專心處理特殊的意外事件

1 分鐘1 分鐘 1 分鐘 3 分鐘 幾秒鐘1 分鐘 幾秒鐘

總共花費不到 8 分鐘

因為自動化所以速度快品質一致服務可預期

IT 工作流程自動化之後

派工單遞送相關資料檢驗事件

收集服務資料檢查已知問題 收到工單 解決問題

結案製作報告

檢驗解決方案

事件分類 診斷 尋求協助 修正 回報

13105 1116

Orchestrator 架構設計與建置

14105 1116

15105 1116

httptechnetmicrosoftcomen-uslibraryhh420361aspx

16105 1116

17105 1116

18105 1116

19105 1116

20105 1116

21105 1116

22105 1116

Runbook設計與執行

23105 1116

24105 1116

25105 1116

26105 1116

通知 稽核

流程

錯誤處理

27105 1116

28105 1116

29105 1116

30105 1116

31105 1116

2 定義迴圈結束條件

1 啓用迴圈

32105 1116

33105 1116

34105 1116

撰寫指令碼

35105 1116

36105 1116

$p1 = aaa從 初始化資料

$p2 = bbb 從 初始化資料

$Session = New-PSSession -ComputerName SVR1

$ResultArray = Invoke-Command -Session $Session

-ArgumentList $p1 $p2 $p3 -ScriptBlock

Param ( $p1 $p2 $p3 )

要執行的指令Return (xxx yyy hellip)

Remove-PSSession -Session $Session

$data1 = ResultArray[0] 取得 xxx

$data2 = ResultArray[1] 取得 yyy

37105 1116

[SystemReflectionAssembly]LoadWithPartialName(SystemWindowsForms)

$MsgBox = [SystemWindowsFormsMessageBox]

$MsgBoxShow(Hello World)

$result = $MsgBoxShow(Are you sure Title 4)

if ($result -eq Yes)

$MsgBoxShow(YES)

else

$MsgBoxShow(NO)

38105 1116

39105 1116

httpmsdnmicrosoftcomen-uslibraryhh921685aspx

httporchestratorcodeplexcomreleasesview87873

httporchestratorcodeplexcomreleasesview82959

40105 1116

51f9b950-6e33-465d-bc77-4d33e61831ff

41105 1116

-getparameters

42105 1116

43105 1116

44105 1116

45105 1116

整合其它系統 ndash Integration Packs

46105 1116

1

2

47105 1116

48105 1116

bull TFS

bull PowerShell

bull SharePoint

bull Active Directory

bull Exchange Mail and

Calendaring

bull Local Security

bull Scheduled Tasks

bull Utilities

bull Social media (Twitter)

bull Text Manipulation

bull F5

bull VMWare

bull Configuration Manager

2007

bull 4 BMC IPs- Kelverion

bull Dell -AIM IP

bull NetApp- OCPM IP

bull Cisco- UCS IP

bull Cisco- NCM

JaxMPFyrsoft

bull Kelverion- DBs IP

bull Kelverion-ServiceNow IP

bull Kelverion-Data

Manipulation IP

bull Kelverion-HTTP

Applications IP

bull Vision Solutions-

DoubleTake IP

bull VMWare vSphere

bull IBM Tivoli Netcool

bull HP OM

bull HP SM

bull HP iLo

bull Active Directory

bull MS Exchange User

bull MS Exchange Admin

bull FTP

bull New features added to

VMWare vSphere

bull REST

bull SharePoint

bull Windows Azure

微軟 協力廠商 Codeplex 社群

49105 1116

httpwwwmicrosoftcomen-usdownloaddetailsaspxid=39622

httptechnetmicrosoftcomen-uslibraryhh295851aspx

Codeplex社群 httporchestratorcodeplexcom

50105 1116

51105 1116

httpmsdnmicrosoftcomen-uslibraryhh855855aspx

很容易擴展的平臺

52105 1116

很容易擴展的平臺

53105 1116

54105 1116

Runbook偵錯與事件記錄

55105 1116

56105 1116

57105 1116

58105 1116

59105 1116

60105 1116

ltruntimegt

ltgeneratePublisherEvidence enabled=falsegt

ltruntimegt

61105 1116

aspt RunbookServer1 40

aspt 40

62105 1116

Service Management Automation (SMA) 介紹

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 5: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

5105 1115

減少人工錯誤提升效率

減少花時間容易犯錯的雲端管理工作

使用 Runbook Gallery 中的自動化範例程式

視覺化監測自動化活動

建立監控管理與部署雲端資源

即刻可用的 runbook範例與工具 使用儀表板與報表來監控runbook執行狀況

6105 1115

使用標準 Internet API 整合Azure 與外部服務

更快速一致的服務部署

自動化活動報表

透過有效的處理程序提供更可靠的自動化流程

使用報表詳細追蹤自動化活動整合你需要的服務

7105 1115

標準化服務消費者

服務提供者

自助服務

自動化

流程

系統

8105 1115

18 分鐘

IT 工作流程自動化之前

派工單遞送相關資料檢驗事件

收集服務資料檢查已知問題 收到工單 解決問題

結案製作報告

檢驗解決方案

7 分鐘20 分鐘 10 分鐘 3 分鐘7 分鐘 3 分鐘

總共花費 68 分鐘

事件分類 診斷 尋求協助 修正 回報

有太多人為的不確定性

9105 1115

Orchestrator 提供私有雲自動化基礎

降低成本且改善可預測的不穩定性

讓 IT 人員聚焦在更有價值的工作上

減少人工處理所需的成本

自動化

提供彈性且可靠的服務

使用彈性的流程提昇IT 人員的時間價值

透過工具系統資源改善服務的穩定性

編配

最佳化並延伸既有投資

使用 Integration Packs

整合異質系統

使用 Orchestrator

Integration Toolkit 客製製化其它系統的Integration Packs

整合

10105 1115

OpenView Operations

服務

管理

配置

組態設定

監控

保護

混合環境最佳化和 System Center 2012 緊密整合

HP Service Manager SoftwareMake your IT service desk enterprise strength

Orchestrator 整合一切

11105 1116

變動上線

應用程式服務管理

異動與一致性檢查

監控要求

初始化異動

建立部署

複製虛擬機器

建立 VHD

建立伺服器

連接網路

將 VHD 連接㺫虛擬機器

將伺服器關聯至服務

更新 CMDB結案意

外回應

改善服務的可靠性

事件管理

服務受理

資產管理 CMDB

組態設定

虛擬化

安全性

儲存區

伺服器

網路

加速整體的反應時間

IT 工作 跨工作全自動整合

Orchestrator 如何自動化 IT 流程

虛擬機器生命週期管理

12105 1116

讓 IT 人員專心處理特殊的意外事件

1 分鐘1 分鐘 1 分鐘 3 分鐘 幾秒鐘1 分鐘 幾秒鐘

總共花費不到 8 分鐘

因為自動化所以速度快品質一致服務可預期

IT 工作流程自動化之後

派工單遞送相關資料檢驗事件

收集服務資料檢查已知問題 收到工單 解決問題

結案製作報告

檢驗解決方案

事件分類 診斷 尋求協助 修正 回報

13105 1116

Orchestrator 架構設計與建置

14105 1116

15105 1116

httptechnetmicrosoftcomen-uslibraryhh420361aspx

16105 1116

17105 1116

18105 1116

19105 1116

20105 1116

21105 1116

22105 1116

Runbook設計與執行

23105 1116

24105 1116

25105 1116

26105 1116

通知 稽核

流程

錯誤處理

27105 1116

28105 1116

29105 1116

30105 1116

31105 1116

2 定義迴圈結束條件

1 啓用迴圈

32105 1116

33105 1116

34105 1116

撰寫指令碼

35105 1116

36105 1116

$p1 = aaa從 初始化資料

$p2 = bbb 從 初始化資料

$Session = New-PSSession -ComputerName SVR1

$ResultArray = Invoke-Command -Session $Session

-ArgumentList $p1 $p2 $p3 -ScriptBlock

Param ( $p1 $p2 $p3 )

要執行的指令Return (xxx yyy hellip)

Remove-PSSession -Session $Session

$data1 = ResultArray[0] 取得 xxx

$data2 = ResultArray[1] 取得 yyy

37105 1116

[SystemReflectionAssembly]LoadWithPartialName(SystemWindowsForms)

$MsgBox = [SystemWindowsFormsMessageBox]

$MsgBoxShow(Hello World)

$result = $MsgBoxShow(Are you sure Title 4)

if ($result -eq Yes)

$MsgBoxShow(YES)

else

$MsgBoxShow(NO)

38105 1116

39105 1116

httpmsdnmicrosoftcomen-uslibraryhh921685aspx

httporchestratorcodeplexcomreleasesview87873

httporchestratorcodeplexcomreleasesview82959

40105 1116

51f9b950-6e33-465d-bc77-4d33e61831ff

41105 1116

-getparameters

42105 1116

43105 1116

44105 1116

45105 1116

整合其它系統 ndash Integration Packs

46105 1116

1

2

47105 1116

48105 1116

bull TFS

bull PowerShell

bull SharePoint

bull Active Directory

bull Exchange Mail and

Calendaring

bull Local Security

bull Scheduled Tasks

bull Utilities

bull Social media (Twitter)

bull Text Manipulation

bull F5

bull VMWare

bull Configuration Manager

2007

bull 4 BMC IPs- Kelverion

bull Dell -AIM IP

bull NetApp- OCPM IP

bull Cisco- UCS IP

bull Cisco- NCM

JaxMPFyrsoft

bull Kelverion- DBs IP

bull Kelverion-ServiceNow IP

bull Kelverion-Data

Manipulation IP

bull Kelverion-HTTP

Applications IP

bull Vision Solutions-

DoubleTake IP

bull VMWare vSphere

bull IBM Tivoli Netcool

bull HP OM

bull HP SM

bull HP iLo

bull Active Directory

bull MS Exchange User

bull MS Exchange Admin

bull FTP

bull New features added to

VMWare vSphere

bull REST

bull SharePoint

bull Windows Azure

微軟 協力廠商 Codeplex 社群

49105 1116

httpwwwmicrosoftcomen-usdownloaddetailsaspxid=39622

httptechnetmicrosoftcomen-uslibraryhh295851aspx

Codeplex社群 httporchestratorcodeplexcom

50105 1116

51105 1116

httpmsdnmicrosoftcomen-uslibraryhh855855aspx

很容易擴展的平臺

52105 1116

很容易擴展的平臺

53105 1116

54105 1116

Runbook偵錯與事件記錄

55105 1116

56105 1116

57105 1116

58105 1116

59105 1116

60105 1116

ltruntimegt

ltgeneratePublisherEvidence enabled=falsegt

ltruntimegt

61105 1116

aspt RunbookServer1 40

aspt 40

62105 1116

Service Management Automation (SMA) 介紹

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 6: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

6105 1115

使用標準 Internet API 整合Azure 與外部服務

更快速一致的服務部署

自動化活動報表

透過有效的處理程序提供更可靠的自動化流程

使用報表詳細追蹤自動化活動整合你需要的服務

7105 1115

標準化服務消費者

服務提供者

自助服務

自動化

流程

系統

8105 1115

18 分鐘

IT 工作流程自動化之前

派工單遞送相關資料檢驗事件

收集服務資料檢查已知問題 收到工單 解決問題

結案製作報告

檢驗解決方案

7 分鐘20 分鐘 10 分鐘 3 分鐘7 分鐘 3 分鐘

總共花費 68 分鐘

事件分類 診斷 尋求協助 修正 回報

有太多人為的不確定性

9105 1115

Orchestrator 提供私有雲自動化基礎

降低成本且改善可預測的不穩定性

讓 IT 人員聚焦在更有價值的工作上

減少人工處理所需的成本

自動化

提供彈性且可靠的服務

使用彈性的流程提昇IT 人員的時間價值

透過工具系統資源改善服務的穩定性

編配

最佳化並延伸既有投資

使用 Integration Packs

整合異質系統

使用 Orchestrator

Integration Toolkit 客製製化其它系統的Integration Packs

整合

10105 1115

OpenView Operations

服務

管理

配置

組態設定

監控

保護

混合環境最佳化和 System Center 2012 緊密整合

HP Service Manager SoftwareMake your IT service desk enterprise strength

Orchestrator 整合一切

11105 1116

變動上線

應用程式服務管理

異動與一致性檢查

監控要求

初始化異動

建立部署

複製虛擬機器

建立 VHD

建立伺服器

連接網路

將 VHD 連接㺫虛擬機器

將伺服器關聯至服務

更新 CMDB結案意

外回應

改善服務的可靠性

事件管理

服務受理

資產管理 CMDB

組態設定

虛擬化

安全性

儲存區

伺服器

網路

加速整體的反應時間

IT 工作 跨工作全自動整合

Orchestrator 如何自動化 IT 流程

虛擬機器生命週期管理

12105 1116

讓 IT 人員專心處理特殊的意外事件

1 分鐘1 分鐘 1 分鐘 3 分鐘 幾秒鐘1 分鐘 幾秒鐘

總共花費不到 8 分鐘

因為自動化所以速度快品質一致服務可預期

IT 工作流程自動化之後

派工單遞送相關資料檢驗事件

收集服務資料檢查已知問題 收到工單 解決問題

結案製作報告

檢驗解決方案

事件分類 診斷 尋求協助 修正 回報

13105 1116

Orchestrator 架構設計與建置

14105 1116

15105 1116

httptechnetmicrosoftcomen-uslibraryhh420361aspx

16105 1116

17105 1116

18105 1116

19105 1116

20105 1116

21105 1116

22105 1116

Runbook設計與執行

23105 1116

24105 1116

25105 1116

26105 1116

通知 稽核

流程

錯誤處理

27105 1116

28105 1116

29105 1116

30105 1116

31105 1116

2 定義迴圈結束條件

1 啓用迴圈

32105 1116

33105 1116

34105 1116

撰寫指令碼

35105 1116

36105 1116

$p1 = aaa從 初始化資料

$p2 = bbb 從 初始化資料

$Session = New-PSSession -ComputerName SVR1

$ResultArray = Invoke-Command -Session $Session

-ArgumentList $p1 $p2 $p3 -ScriptBlock

Param ( $p1 $p2 $p3 )

要執行的指令Return (xxx yyy hellip)

Remove-PSSession -Session $Session

$data1 = ResultArray[0] 取得 xxx

$data2 = ResultArray[1] 取得 yyy

37105 1116

[SystemReflectionAssembly]LoadWithPartialName(SystemWindowsForms)

$MsgBox = [SystemWindowsFormsMessageBox]

$MsgBoxShow(Hello World)

$result = $MsgBoxShow(Are you sure Title 4)

if ($result -eq Yes)

$MsgBoxShow(YES)

else

$MsgBoxShow(NO)

38105 1116

39105 1116

httpmsdnmicrosoftcomen-uslibraryhh921685aspx

httporchestratorcodeplexcomreleasesview87873

httporchestratorcodeplexcomreleasesview82959

40105 1116

51f9b950-6e33-465d-bc77-4d33e61831ff

41105 1116

-getparameters

42105 1116

43105 1116

44105 1116

45105 1116

整合其它系統 ndash Integration Packs

46105 1116

1

2

47105 1116

48105 1116

bull TFS

bull PowerShell

bull SharePoint

bull Active Directory

bull Exchange Mail and

Calendaring

bull Local Security

bull Scheduled Tasks

bull Utilities

bull Social media (Twitter)

bull Text Manipulation

bull F5

bull VMWare

bull Configuration Manager

2007

bull 4 BMC IPs- Kelverion

bull Dell -AIM IP

bull NetApp- OCPM IP

bull Cisco- UCS IP

bull Cisco- NCM

JaxMPFyrsoft

bull Kelverion- DBs IP

bull Kelverion-ServiceNow IP

bull Kelverion-Data

Manipulation IP

bull Kelverion-HTTP

Applications IP

bull Vision Solutions-

DoubleTake IP

bull VMWare vSphere

bull IBM Tivoli Netcool

bull HP OM

bull HP SM

bull HP iLo

bull Active Directory

bull MS Exchange User

bull MS Exchange Admin

bull FTP

bull New features added to

VMWare vSphere

bull REST

bull SharePoint

bull Windows Azure

微軟 協力廠商 Codeplex 社群

49105 1116

httpwwwmicrosoftcomen-usdownloaddetailsaspxid=39622

httptechnetmicrosoftcomen-uslibraryhh295851aspx

Codeplex社群 httporchestratorcodeplexcom

50105 1116

51105 1116

httpmsdnmicrosoftcomen-uslibraryhh855855aspx

很容易擴展的平臺

52105 1116

很容易擴展的平臺

53105 1116

54105 1116

Runbook偵錯與事件記錄

55105 1116

56105 1116

57105 1116

58105 1116

59105 1116

60105 1116

ltruntimegt

ltgeneratePublisherEvidence enabled=falsegt

ltruntimegt

61105 1116

aspt RunbookServer1 40

aspt 40

62105 1116

Service Management Automation (SMA) 介紹

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 7: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

7105 1115

標準化服務消費者

服務提供者

自助服務

自動化

流程

系統

8105 1115

18 分鐘

IT 工作流程自動化之前

派工單遞送相關資料檢驗事件

收集服務資料檢查已知問題 收到工單 解決問題

結案製作報告

檢驗解決方案

7 分鐘20 分鐘 10 分鐘 3 分鐘7 分鐘 3 分鐘

總共花費 68 分鐘

事件分類 診斷 尋求協助 修正 回報

有太多人為的不確定性

9105 1115

Orchestrator 提供私有雲自動化基礎

降低成本且改善可預測的不穩定性

讓 IT 人員聚焦在更有價值的工作上

減少人工處理所需的成本

自動化

提供彈性且可靠的服務

使用彈性的流程提昇IT 人員的時間價值

透過工具系統資源改善服務的穩定性

編配

最佳化並延伸既有投資

使用 Integration Packs

整合異質系統

使用 Orchestrator

Integration Toolkit 客製製化其它系統的Integration Packs

整合

10105 1115

OpenView Operations

服務

管理

配置

組態設定

監控

保護

混合環境最佳化和 System Center 2012 緊密整合

HP Service Manager SoftwareMake your IT service desk enterprise strength

Orchestrator 整合一切

11105 1116

變動上線

應用程式服務管理

異動與一致性檢查

監控要求

初始化異動

建立部署

複製虛擬機器

建立 VHD

建立伺服器

連接網路

將 VHD 連接㺫虛擬機器

將伺服器關聯至服務

更新 CMDB結案意

外回應

改善服務的可靠性

事件管理

服務受理

資產管理 CMDB

組態設定

虛擬化

安全性

儲存區

伺服器

網路

加速整體的反應時間

IT 工作 跨工作全自動整合

Orchestrator 如何自動化 IT 流程

虛擬機器生命週期管理

12105 1116

讓 IT 人員專心處理特殊的意外事件

1 分鐘1 分鐘 1 分鐘 3 分鐘 幾秒鐘1 分鐘 幾秒鐘

總共花費不到 8 分鐘

因為自動化所以速度快品質一致服務可預期

IT 工作流程自動化之後

派工單遞送相關資料檢驗事件

收集服務資料檢查已知問題 收到工單 解決問題

結案製作報告

檢驗解決方案

事件分類 診斷 尋求協助 修正 回報

13105 1116

Orchestrator 架構設計與建置

14105 1116

15105 1116

httptechnetmicrosoftcomen-uslibraryhh420361aspx

16105 1116

17105 1116

18105 1116

19105 1116

20105 1116

21105 1116

22105 1116

Runbook設計與執行

23105 1116

24105 1116

25105 1116

26105 1116

通知 稽核

流程

錯誤處理

27105 1116

28105 1116

29105 1116

30105 1116

31105 1116

2 定義迴圈結束條件

1 啓用迴圈

32105 1116

33105 1116

34105 1116

撰寫指令碼

35105 1116

36105 1116

$p1 = aaa從 初始化資料

$p2 = bbb 從 初始化資料

$Session = New-PSSession -ComputerName SVR1

$ResultArray = Invoke-Command -Session $Session

-ArgumentList $p1 $p2 $p3 -ScriptBlock

Param ( $p1 $p2 $p3 )

要執行的指令Return (xxx yyy hellip)

Remove-PSSession -Session $Session

$data1 = ResultArray[0] 取得 xxx

$data2 = ResultArray[1] 取得 yyy

37105 1116

[SystemReflectionAssembly]LoadWithPartialName(SystemWindowsForms)

$MsgBox = [SystemWindowsFormsMessageBox]

$MsgBoxShow(Hello World)

$result = $MsgBoxShow(Are you sure Title 4)

if ($result -eq Yes)

$MsgBoxShow(YES)

else

$MsgBoxShow(NO)

38105 1116

39105 1116

httpmsdnmicrosoftcomen-uslibraryhh921685aspx

httporchestratorcodeplexcomreleasesview87873

httporchestratorcodeplexcomreleasesview82959

40105 1116

51f9b950-6e33-465d-bc77-4d33e61831ff

41105 1116

-getparameters

42105 1116

43105 1116

44105 1116

45105 1116

整合其它系統 ndash Integration Packs

46105 1116

1

2

47105 1116

48105 1116

bull TFS

bull PowerShell

bull SharePoint

bull Active Directory

bull Exchange Mail and

Calendaring

bull Local Security

bull Scheduled Tasks

bull Utilities

bull Social media (Twitter)

bull Text Manipulation

bull F5

bull VMWare

bull Configuration Manager

2007

bull 4 BMC IPs- Kelverion

bull Dell -AIM IP

bull NetApp- OCPM IP

bull Cisco- UCS IP

bull Cisco- NCM

JaxMPFyrsoft

bull Kelverion- DBs IP

bull Kelverion-ServiceNow IP

bull Kelverion-Data

Manipulation IP

bull Kelverion-HTTP

Applications IP

bull Vision Solutions-

DoubleTake IP

bull VMWare vSphere

bull IBM Tivoli Netcool

bull HP OM

bull HP SM

bull HP iLo

bull Active Directory

bull MS Exchange User

bull MS Exchange Admin

bull FTP

bull New features added to

VMWare vSphere

bull REST

bull SharePoint

bull Windows Azure

微軟 協力廠商 Codeplex 社群

49105 1116

httpwwwmicrosoftcomen-usdownloaddetailsaspxid=39622

httptechnetmicrosoftcomen-uslibraryhh295851aspx

Codeplex社群 httporchestratorcodeplexcom

50105 1116

51105 1116

httpmsdnmicrosoftcomen-uslibraryhh855855aspx

很容易擴展的平臺

52105 1116

很容易擴展的平臺

53105 1116

54105 1116

Runbook偵錯與事件記錄

55105 1116

56105 1116

57105 1116

58105 1116

59105 1116

60105 1116

ltruntimegt

ltgeneratePublisherEvidence enabled=falsegt

ltruntimegt

61105 1116

aspt RunbookServer1 40

aspt 40

62105 1116

Service Management Automation (SMA) 介紹

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 8: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

8105 1115

18 分鐘

IT 工作流程自動化之前

派工單遞送相關資料檢驗事件

收集服務資料檢查已知問題 收到工單 解決問題

結案製作報告

檢驗解決方案

7 分鐘20 分鐘 10 分鐘 3 分鐘7 分鐘 3 分鐘

總共花費 68 分鐘

事件分類 診斷 尋求協助 修正 回報

有太多人為的不確定性

9105 1115

Orchestrator 提供私有雲自動化基礎

降低成本且改善可預測的不穩定性

讓 IT 人員聚焦在更有價值的工作上

減少人工處理所需的成本

自動化

提供彈性且可靠的服務

使用彈性的流程提昇IT 人員的時間價值

透過工具系統資源改善服務的穩定性

編配

最佳化並延伸既有投資

使用 Integration Packs

整合異質系統

使用 Orchestrator

Integration Toolkit 客製製化其它系統的Integration Packs

整合

10105 1115

OpenView Operations

服務

管理

配置

組態設定

監控

保護

混合環境最佳化和 System Center 2012 緊密整合

HP Service Manager SoftwareMake your IT service desk enterprise strength

Orchestrator 整合一切

11105 1116

變動上線

應用程式服務管理

異動與一致性檢查

監控要求

初始化異動

建立部署

複製虛擬機器

建立 VHD

建立伺服器

連接網路

將 VHD 連接㺫虛擬機器

將伺服器關聯至服務

更新 CMDB結案意

外回應

改善服務的可靠性

事件管理

服務受理

資產管理 CMDB

組態設定

虛擬化

安全性

儲存區

伺服器

網路

加速整體的反應時間

IT 工作 跨工作全自動整合

Orchestrator 如何自動化 IT 流程

虛擬機器生命週期管理

12105 1116

讓 IT 人員專心處理特殊的意外事件

1 分鐘1 分鐘 1 分鐘 3 分鐘 幾秒鐘1 分鐘 幾秒鐘

總共花費不到 8 分鐘

因為自動化所以速度快品質一致服務可預期

IT 工作流程自動化之後

派工單遞送相關資料檢驗事件

收集服務資料檢查已知問題 收到工單 解決問題

結案製作報告

檢驗解決方案

事件分類 診斷 尋求協助 修正 回報

13105 1116

Orchestrator 架構設計與建置

14105 1116

15105 1116

httptechnetmicrosoftcomen-uslibraryhh420361aspx

16105 1116

17105 1116

18105 1116

19105 1116

20105 1116

21105 1116

22105 1116

Runbook設計與執行

23105 1116

24105 1116

25105 1116

26105 1116

通知 稽核

流程

錯誤處理

27105 1116

28105 1116

29105 1116

30105 1116

31105 1116

2 定義迴圈結束條件

1 啓用迴圈

32105 1116

33105 1116

34105 1116

撰寫指令碼

35105 1116

36105 1116

$p1 = aaa從 初始化資料

$p2 = bbb 從 初始化資料

$Session = New-PSSession -ComputerName SVR1

$ResultArray = Invoke-Command -Session $Session

-ArgumentList $p1 $p2 $p3 -ScriptBlock

Param ( $p1 $p2 $p3 )

要執行的指令Return (xxx yyy hellip)

Remove-PSSession -Session $Session

$data1 = ResultArray[0] 取得 xxx

$data2 = ResultArray[1] 取得 yyy

37105 1116

[SystemReflectionAssembly]LoadWithPartialName(SystemWindowsForms)

$MsgBox = [SystemWindowsFormsMessageBox]

$MsgBoxShow(Hello World)

$result = $MsgBoxShow(Are you sure Title 4)

if ($result -eq Yes)

$MsgBoxShow(YES)

else

$MsgBoxShow(NO)

38105 1116

39105 1116

httpmsdnmicrosoftcomen-uslibraryhh921685aspx

httporchestratorcodeplexcomreleasesview87873

httporchestratorcodeplexcomreleasesview82959

40105 1116

51f9b950-6e33-465d-bc77-4d33e61831ff

41105 1116

-getparameters

42105 1116

43105 1116

44105 1116

45105 1116

整合其它系統 ndash Integration Packs

46105 1116

1

2

47105 1116

48105 1116

bull TFS

bull PowerShell

bull SharePoint

bull Active Directory

bull Exchange Mail and

Calendaring

bull Local Security

bull Scheduled Tasks

bull Utilities

bull Social media (Twitter)

bull Text Manipulation

bull F5

bull VMWare

bull Configuration Manager

2007

bull 4 BMC IPs- Kelverion

bull Dell -AIM IP

bull NetApp- OCPM IP

bull Cisco- UCS IP

bull Cisco- NCM

JaxMPFyrsoft

bull Kelverion- DBs IP

bull Kelverion-ServiceNow IP

bull Kelverion-Data

Manipulation IP

bull Kelverion-HTTP

Applications IP

bull Vision Solutions-

DoubleTake IP

bull VMWare vSphere

bull IBM Tivoli Netcool

bull HP OM

bull HP SM

bull HP iLo

bull Active Directory

bull MS Exchange User

bull MS Exchange Admin

bull FTP

bull New features added to

VMWare vSphere

bull REST

bull SharePoint

bull Windows Azure

微軟 協力廠商 Codeplex 社群

49105 1116

httpwwwmicrosoftcomen-usdownloaddetailsaspxid=39622

httptechnetmicrosoftcomen-uslibraryhh295851aspx

Codeplex社群 httporchestratorcodeplexcom

50105 1116

51105 1116

httpmsdnmicrosoftcomen-uslibraryhh855855aspx

很容易擴展的平臺

52105 1116

很容易擴展的平臺

53105 1116

54105 1116

Runbook偵錯與事件記錄

55105 1116

56105 1116

57105 1116

58105 1116

59105 1116

60105 1116

ltruntimegt

ltgeneratePublisherEvidence enabled=falsegt

ltruntimegt

61105 1116

aspt RunbookServer1 40

aspt 40

62105 1116

Service Management Automation (SMA) 介紹

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 9: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

9105 1115

Orchestrator 提供私有雲自動化基礎

降低成本且改善可預測的不穩定性

讓 IT 人員聚焦在更有價值的工作上

減少人工處理所需的成本

自動化

提供彈性且可靠的服務

使用彈性的流程提昇IT 人員的時間價值

透過工具系統資源改善服務的穩定性

編配

最佳化並延伸既有投資

使用 Integration Packs

整合異質系統

使用 Orchestrator

Integration Toolkit 客製製化其它系統的Integration Packs

整合

10105 1115

OpenView Operations

服務

管理

配置

組態設定

監控

保護

混合環境最佳化和 System Center 2012 緊密整合

HP Service Manager SoftwareMake your IT service desk enterprise strength

Orchestrator 整合一切

11105 1116

變動上線

應用程式服務管理

異動與一致性檢查

監控要求

初始化異動

建立部署

複製虛擬機器

建立 VHD

建立伺服器

連接網路

將 VHD 連接㺫虛擬機器

將伺服器關聯至服務

更新 CMDB結案意

外回應

改善服務的可靠性

事件管理

服務受理

資產管理 CMDB

組態設定

虛擬化

安全性

儲存區

伺服器

網路

加速整體的反應時間

IT 工作 跨工作全自動整合

Orchestrator 如何自動化 IT 流程

虛擬機器生命週期管理

12105 1116

讓 IT 人員專心處理特殊的意外事件

1 分鐘1 分鐘 1 分鐘 3 分鐘 幾秒鐘1 分鐘 幾秒鐘

總共花費不到 8 分鐘

因為自動化所以速度快品質一致服務可預期

IT 工作流程自動化之後

派工單遞送相關資料檢驗事件

收集服務資料檢查已知問題 收到工單 解決問題

結案製作報告

檢驗解決方案

事件分類 診斷 尋求協助 修正 回報

13105 1116

Orchestrator 架構設計與建置

14105 1116

15105 1116

httptechnetmicrosoftcomen-uslibraryhh420361aspx

16105 1116

17105 1116

18105 1116

19105 1116

20105 1116

21105 1116

22105 1116

Runbook設計與執行

23105 1116

24105 1116

25105 1116

26105 1116

通知 稽核

流程

錯誤處理

27105 1116

28105 1116

29105 1116

30105 1116

31105 1116

2 定義迴圈結束條件

1 啓用迴圈

32105 1116

33105 1116

34105 1116

撰寫指令碼

35105 1116

36105 1116

$p1 = aaa從 初始化資料

$p2 = bbb 從 初始化資料

$Session = New-PSSession -ComputerName SVR1

$ResultArray = Invoke-Command -Session $Session

-ArgumentList $p1 $p2 $p3 -ScriptBlock

Param ( $p1 $p2 $p3 )

要執行的指令Return (xxx yyy hellip)

Remove-PSSession -Session $Session

$data1 = ResultArray[0] 取得 xxx

$data2 = ResultArray[1] 取得 yyy

37105 1116

[SystemReflectionAssembly]LoadWithPartialName(SystemWindowsForms)

$MsgBox = [SystemWindowsFormsMessageBox]

$MsgBoxShow(Hello World)

$result = $MsgBoxShow(Are you sure Title 4)

if ($result -eq Yes)

$MsgBoxShow(YES)

else

$MsgBoxShow(NO)

38105 1116

39105 1116

httpmsdnmicrosoftcomen-uslibraryhh921685aspx

httporchestratorcodeplexcomreleasesview87873

httporchestratorcodeplexcomreleasesview82959

40105 1116

51f9b950-6e33-465d-bc77-4d33e61831ff

41105 1116

-getparameters

42105 1116

43105 1116

44105 1116

45105 1116

整合其它系統 ndash Integration Packs

46105 1116

1

2

47105 1116

48105 1116

bull TFS

bull PowerShell

bull SharePoint

bull Active Directory

bull Exchange Mail and

Calendaring

bull Local Security

bull Scheduled Tasks

bull Utilities

bull Social media (Twitter)

bull Text Manipulation

bull F5

bull VMWare

bull Configuration Manager

2007

bull 4 BMC IPs- Kelverion

bull Dell -AIM IP

bull NetApp- OCPM IP

bull Cisco- UCS IP

bull Cisco- NCM

JaxMPFyrsoft

bull Kelverion- DBs IP

bull Kelverion-ServiceNow IP

bull Kelverion-Data

Manipulation IP

bull Kelverion-HTTP

Applications IP

bull Vision Solutions-

DoubleTake IP

bull VMWare vSphere

bull IBM Tivoli Netcool

bull HP OM

bull HP SM

bull HP iLo

bull Active Directory

bull MS Exchange User

bull MS Exchange Admin

bull FTP

bull New features added to

VMWare vSphere

bull REST

bull SharePoint

bull Windows Azure

微軟 協力廠商 Codeplex 社群

49105 1116

httpwwwmicrosoftcomen-usdownloaddetailsaspxid=39622

httptechnetmicrosoftcomen-uslibraryhh295851aspx

Codeplex社群 httporchestratorcodeplexcom

50105 1116

51105 1116

httpmsdnmicrosoftcomen-uslibraryhh855855aspx

很容易擴展的平臺

52105 1116

很容易擴展的平臺

53105 1116

54105 1116

Runbook偵錯與事件記錄

55105 1116

56105 1116

57105 1116

58105 1116

59105 1116

60105 1116

ltruntimegt

ltgeneratePublisherEvidence enabled=falsegt

ltruntimegt

61105 1116

aspt RunbookServer1 40

aspt 40

62105 1116

Service Management Automation (SMA) 介紹

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 10: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

10105 1115

OpenView Operations

服務

管理

配置

組態設定

監控

保護

混合環境最佳化和 System Center 2012 緊密整合

HP Service Manager SoftwareMake your IT service desk enterprise strength

Orchestrator 整合一切

11105 1116

變動上線

應用程式服務管理

異動與一致性檢查

監控要求

初始化異動

建立部署

複製虛擬機器

建立 VHD

建立伺服器

連接網路

將 VHD 連接㺫虛擬機器

將伺服器關聯至服務

更新 CMDB結案意

外回應

改善服務的可靠性

事件管理

服務受理

資產管理 CMDB

組態設定

虛擬化

安全性

儲存區

伺服器

網路

加速整體的反應時間

IT 工作 跨工作全自動整合

Orchestrator 如何自動化 IT 流程

虛擬機器生命週期管理

12105 1116

讓 IT 人員專心處理特殊的意外事件

1 分鐘1 分鐘 1 分鐘 3 分鐘 幾秒鐘1 分鐘 幾秒鐘

總共花費不到 8 分鐘

因為自動化所以速度快品質一致服務可預期

IT 工作流程自動化之後

派工單遞送相關資料檢驗事件

收集服務資料檢查已知問題 收到工單 解決問題

結案製作報告

檢驗解決方案

事件分類 診斷 尋求協助 修正 回報

13105 1116

Orchestrator 架構設計與建置

14105 1116

15105 1116

httptechnetmicrosoftcomen-uslibraryhh420361aspx

16105 1116

17105 1116

18105 1116

19105 1116

20105 1116

21105 1116

22105 1116

Runbook設計與執行

23105 1116

24105 1116

25105 1116

26105 1116

通知 稽核

流程

錯誤處理

27105 1116

28105 1116

29105 1116

30105 1116

31105 1116

2 定義迴圈結束條件

1 啓用迴圈

32105 1116

33105 1116

34105 1116

撰寫指令碼

35105 1116

36105 1116

$p1 = aaa從 初始化資料

$p2 = bbb 從 初始化資料

$Session = New-PSSession -ComputerName SVR1

$ResultArray = Invoke-Command -Session $Session

-ArgumentList $p1 $p2 $p3 -ScriptBlock

Param ( $p1 $p2 $p3 )

要執行的指令Return (xxx yyy hellip)

Remove-PSSession -Session $Session

$data1 = ResultArray[0] 取得 xxx

$data2 = ResultArray[1] 取得 yyy

37105 1116

[SystemReflectionAssembly]LoadWithPartialName(SystemWindowsForms)

$MsgBox = [SystemWindowsFormsMessageBox]

$MsgBoxShow(Hello World)

$result = $MsgBoxShow(Are you sure Title 4)

if ($result -eq Yes)

$MsgBoxShow(YES)

else

$MsgBoxShow(NO)

38105 1116

39105 1116

httpmsdnmicrosoftcomen-uslibraryhh921685aspx

httporchestratorcodeplexcomreleasesview87873

httporchestratorcodeplexcomreleasesview82959

40105 1116

51f9b950-6e33-465d-bc77-4d33e61831ff

41105 1116

-getparameters

42105 1116

43105 1116

44105 1116

45105 1116

整合其它系統 ndash Integration Packs

46105 1116

1

2

47105 1116

48105 1116

bull TFS

bull PowerShell

bull SharePoint

bull Active Directory

bull Exchange Mail and

Calendaring

bull Local Security

bull Scheduled Tasks

bull Utilities

bull Social media (Twitter)

bull Text Manipulation

bull F5

bull VMWare

bull Configuration Manager

2007

bull 4 BMC IPs- Kelverion

bull Dell -AIM IP

bull NetApp- OCPM IP

bull Cisco- UCS IP

bull Cisco- NCM

JaxMPFyrsoft

bull Kelverion- DBs IP

bull Kelverion-ServiceNow IP

bull Kelverion-Data

Manipulation IP

bull Kelverion-HTTP

Applications IP

bull Vision Solutions-

DoubleTake IP

bull VMWare vSphere

bull IBM Tivoli Netcool

bull HP OM

bull HP SM

bull HP iLo

bull Active Directory

bull MS Exchange User

bull MS Exchange Admin

bull FTP

bull New features added to

VMWare vSphere

bull REST

bull SharePoint

bull Windows Azure

微軟 協力廠商 Codeplex 社群

49105 1116

httpwwwmicrosoftcomen-usdownloaddetailsaspxid=39622

httptechnetmicrosoftcomen-uslibraryhh295851aspx

Codeplex社群 httporchestratorcodeplexcom

50105 1116

51105 1116

httpmsdnmicrosoftcomen-uslibraryhh855855aspx

很容易擴展的平臺

52105 1116

很容易擴展的平臺

53105 1116

54105 1116

Runbook偵錯與事件記錄

55105 1116

56105 1116

57105 1116

58105 1116

59105 1116

60105 1116

ltruntimegt

ltgeneratePublisherEvidence enabled=falsegt

ltruntimegt

61105 1116

aspt RunbookServer1 40

aspt 40

62105 1116

Service Management Automation (SMA) 介紹

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 11: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

11105 1116

變動上線

應用程式服務管理

異動與一致性檢查

監控要求

初始化異動

建立部署

複製虛擬機器

建立 VHD

建立伺服器

連接網路

將 VHD 連接㺫虛擬機器

將伺服器關聯至服務

更新 CMDB結案意

外回應

改善服務的可靠性

事件管理

服務受理

資產管理 CMDB

組態設定

虛擬化

安全性

儲存區

伺服器

網路

加速整體的反應時間

IT 工作 跨工作全自動整合

Orchestrator 如何自動化 IT 流程

虛擬機器生命週期管理

12105 1116

讓 IT 人員專心處理特殊的意外事件

1 分鐘1 分鐘 1 分鐘 3 分鐘 幾秒鐘1 分鐘 幾秒鐘

總共花費不到 8 分鐘

因為自動化所以速度快品質一致服務可預期

IT 工作流程自動化之後

派工單遞送相關資料檢驗事件

收集服務資料檢查已知問題 收到工單 解決問題

結案製作報告

檢驗解決方案

事件分類 診斷 尋求協助 修正 回報

13105 1116

Orchestrator 架構設計與建置

14105 1116

15105 1116

httptechnetmicrosoftcomen-uslibraryhh420361aspx

16105 1116

17105 1116

18105 1116

19105 1116

20105 1116

21105 1116

22105 1116

Runbook設計與執行

23105 1116

24105 1116

25105 1116

26105 1116

通知 稽核

流程

錯誤處理

27105 1116

28105 1116

29105 1116

30105 1116

31105 1116

2 定義迴圈結束條件

1 啓用迴圈

32105 1116

33105 1116

34105 1116

撰寫指令碼

35105 1116

36105 1116

$p1 = aaa從 初始化資料

$p2 = bbb 從 初始化資料

$Session = New-PSSession -ComputerName SVR1

$ResultArray = Invoke-Command -Session $Session

-ArgumentList $p1 $p2 $p3 -ScriptBlock

Param ( $p1 $p2 $p3 )

要執行的指令Return (xxx yyy hellip)

Remove-PSSession -Session $Session

$data1 = ResultArray[0] 取得 xxx

$data2 = ResultArray[1] 取得 yyy

37105 1116

[SystemReflectionAssembly]LoadWithPartialName(SystemWindowsForms)

$MsgBox = [SystemWindowsFormsMessageBox]

$MsgBoxShow(Hello World)

$result = $MsgBoxShow(Are you sure Title 4)

if ($result -eq Yes)

$MsgBoxShow(YES)

else

$MsgBoxShow(NO)

38105 1116

39105 1116

httpmsdnmicrosoftcomen-uslibraryhh921685aspx

httporchestratorcodeplexcomreleasesview87873

httporchestratorcodeplexcomreleasesview82959

40105 1116

51f9b950-6e33-465d-bc77-4d33e61831ff

41105 1116

-getparameters

42105 1116

43105 1116

44105 1116

45105 1116

整合其它系統 ndash Integration Packs

46105 1116

1

2

47105 1116

48105 1116

bull TFS

bull PowerShell

bull SharePoint

bull Active Directory

bull Exchange Mail and

Calendaring

bull Local Security

bull Scheduled Tasks

bull Utilities

bull Social media (Twitter)

bull Text Manipulation

bull F5

bull VMWare

bull Configuration Manager

2007

bull 4 BMC IPs- Kelverion

bull Dell -AIM IP

bull NetApp- OCPM IP

bull Cisco- UCS IP

bull Cisco- NCM

JaxMPFyrsoft

bull Kelverion- DBs IP

bull Kelverion-ServiceNow IP

bull Kelverion-Data

Manipulation IP

bull Kelverion-HTTP

Applications IP

bull Vision Solutions-

DoubleTake IP

bull VMWare vSphere

bull IBM Tivoli Netcool

bull HP OM

bull HP SM

bull HP iLo

bull Active Directory

bull MS Exchange User

bull MS Exchange Admin

bull FTP

bull New features added to

VMWare vSphere

bull REST

bull SharePoint

bull Windows Azure

微軟 協力廠商 Codeplex 社群

49105 1116

httpwwwmicrosoftcomen-usdownloaddetailsaspxid=39622

httptechnetmicrosoftcomen-uslibraryhh295851aspx

Codeplex社群 httporchestratorcodeplexcom

50105 1116

51105 1116

httpmsdnmicrosoftcomen-uslibraryhh855855aspx

很容易擴展的平臺

52105 1116

很容易擴展的平臺

53105 1116

54105 1116

Runbook偵錯與事件記錄

55105 1116

56105 1116

57105 1116

58105 1116

59105 1116

60105 1116

ltruntimegt

ltgeneratePublisherEvidence enabled=falsegt

ltruntimegt

61105 1116

aspt RunbookServer1 40

aspt 40

62105 1116

Service Management Automation (SMA) 介紹

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 12: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

12105 1116

讓 IT 人員專心處理特殊的意外事件

1 分鐘1 分鐘 1 分鐘 3 分鐘 幾秒鐘1 分鐘 幾秒鐘

總共花費不到 8 分鐘

因為自動化所以速度快品質一致服務可預期

IT 工作流程自動化之後

派工單遞送相關資料檢驗事件

收集服務資料檢查已知問題 收到工單 解決問題

結案製作報告

檢驗解決方案

事件分類 診斷 尋求協助 修正 回報

13105 1116

Orchestrator 架構設計與建置

14105 1116

15105 1116

httptechnetmicrosoftcomen-uslibraryhh420361aspx

16105 1116

17105 1116

18105 1116

19105 1116

20105 1116

21105 1116

22105 1116

Runbook設計與執行

23105 1116

24105 1116

25105 1116

26105 1116

通知 稽核

流程

錯誤處理

27105 1116

28105 1116

29105 1116

30105 1116

31105 1116

2 定義迴圈結束條件

1 啓用迴圈

32105 1116

33105 1116

34105 1116

撰寫指令碼

35105 1116

36105 1116

$p1 = aaa從 初始化資料

$p2 = bbb 從 初始化資料

$Session = New-PSSession -ComputerName SVR1

$ResultArray = Invoke-Command -Session $Session

-ArgumentList $p1 $p2 $p3 -ScriptBlock

Param ( $p1 $p2 $p3 )

要執行的指令Return (xxx yyy hellip)

Remove-PSSession -Session $Session

$data1 = ResultArray[0] 取得 xxx

$data2 = ResultArray[1] 取得 yyy

37105 1116

[SystemReflectionAssembly]LoadWithPartialName(SystemWindowsForms)

$MsgBox = [SystemWindowsFormsMessageBox]

$MsgBoxShow(Hello World)

$result = $MsgBoxShow(Are you sure Title 4)

if ($result -eq Yes)

$MsgBoxShow(YES)

else

$MsgBoxShow(NO)

38105 1116

39105 1116

httpmsdnmicrosoftcomen-uslibraryhh921685aspx

httporchestratorcodeplexcomreleasesview87873

httporchestratorcodeplexcomreleasesview82959

40105 1116

51f9b950-6e33-465d-bc77-4d33e61831ff

41105 1116

-getparameters

42105 1116

43105 1116

44105 1116

45105 1116

整合其它系統 ndash Integration Packs

46105 1116

1

2

47105 1116

48105 1116

bull TFS

bull PowerShell

bull SharePoint

bull Active Directory

bull Exchange Mail and

Calendaring

bull Local Security

bull Scheduled Tasks

bull Utilities

bull Social media (Twitter)

bull Text Manipulation

bull F5

bull VMWare

bull Configuration Manager

2007

bull 4 BMC IPs- Kelverion

bull Dell -AIM IP

bull NetApp- OCPM IP

bull Cisco- UCS IP

bull Cisco- NCM

JaxMPFyrsoft

bull Kelverion- DBs IP

bull Kelverion-ServiceNow IP

bull Kelverion-Data

Manipulation IP

bull Kelverion-HTTP

Applications IP

bull Vision Solutions-

DoubleTake IP

bull VMWare vSphere

bull IBM Tivoli Netcool

bull HP OM

bull HP SM

bull HP iLo

bull Active Directory

bull MS Exchange User

bull MS Exchange Admin

bull FTP

bull New features added to

VMWare vSphere

bull REST

bull SharePoint

bull Windows Azure

微軟 協力廠商 Codeplex 社群

49105 1116

httpwwwmicrosoftcomen-usdownloaddetailsaspxid=39622

httptechnetmicrosoftcomen-uslibraryhh295851aspx

Codeplex社群 httporchestratorcodeplexcom

50105 1116

51105 1116

httpmsdnmicrosoftcomen-uslibraryhh855855aspx

很容易擴展的平臺

52105 1116

很容易擴展的平臺

53105 1116

54105 1116

Runbook偵錯與事件記錄

55105 1116

56105 1116

57105 1116

58105 1116

59105 1116

60105 1116

ltruntimegt

ltgeneratePublisherEvidence enabled=falsegt

ltruntimegt

61105 1116

aspt RunbookServer1 40

aspt 40

62105 1116

Service Management Automation (SMA) 介紹

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 13: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

13105 1116

Orchestrator 架構設計與建置

14105 1116

15105 1116

httptechnetmicrosoftcomen-uslibraryhh420361aspx

16105 1116

17105 1116

18105 1116

19105 1116

20105 1116

21105 1116

22105 1116

Runbook設計與執行

23105 1116

24105 1116

25105 1116

26105 1116

通知 稽核

流程

錯誤處理

27105 1116

28105 1116

29105 1116

30105 1116

31105 1116

2 定義迴圈結束條件

1 啓用迴圈

32105 1116

33105 1116

34105 1116

撰寫指令碼

35105 1116

36105 1116

$p1 = aaa從 初始化資料

$p2 = bbb 從 初始化資料

$Session = New-PSSession -ComputerName SVR1

$ResultArray = Invoke-Command -Session $Session

-ArgumentList $p1 $p2 $p3 -ScriptBlock

Param ( $p1 $p2 $p3 )

要執行的指令Return (xxx yyy hellip)

Remove-PSSession -Session $Session

$data1 = ResultArray[0] 取得 xxx

$data2 = ResultArray[1] 取得 yyy

37105 1116

[SystemReflectionAssembly]LoadWithPartialName(SystemWindowsForms)

$MsgBox = [SystemWindowsFormsMessageBox]

$MsgBoxShow(Hello World)

$result = $MsgBoxShow(Are you sure Title 4)

if ($result -eq Yes)

$MsgBoxShow(YES)

else

$MsgBoxShow(NO)

38105 1116

39105 1116

httpmsdnmicrosoftcomen-uslibraryhh921685aspx

httporchestratorcodeplexcomreleasesview87873

httporchestratorcodeplexcomreleasesview82959

40105 1116

51f9b950-6e33-465d-bc77-4d33e61831ff

41105 1116

-getparameters

42105 1116

43105 1116

44105 1116

45105 1116

整合其它系統 ndash Integration Packs

46105 1116

1

2

47105 1116

48105 1116

bull TFS

bull PowerShell

bull SharePoint

bull Active Directory

bull Exchange Mail and

Calendaring

bull Local Security

bull Scheduled Tasks

bull Utilities

bull Social media (Twitter)

bull Text Manipulation

bull F5

bull VMWare

bull Configuration Manager

2007

bull 4 BMC IPs- Kelverion

bull Dell -AIM IP

bull NetApp- OCPM IP

bull Cisco- UCS IP

bull Cisco- NCM

JaxMPFyrsoft

bull Kelverion- DBs IP

bull Kelverion-ServiceNow IP

bull Kelverion-Data

Manipulation IP

bull Kelverion-HTTP

Applications IP

bull Vision Solutions-

DoubleTake IP

bull VMWare vSphere

bull IBM Tivoli Netcool

bull HP OM

bull HP SM

bull HP iLo

bull Active Directory

bull MS Exchange User

bull MS Exchange Admin

bull FTP

bull New features added to

VMWare vSphere

bull REST

bull SharePoint

bull Windows Azure

微軟 協力廠商 Codeplex 社群

49105 1116

httpwwwmicrosoftcomen-usdownloaddetailsaspxid=39622

httptechnetmicrosoftcomen-uslibraryhh295851aspx

Codeplex社群 httporchestratorcodeplexcom

50105 1116

51105 1116

httpmsdnmicrosoftcomen-uslibraryhh855855aspx

很容易擴展的平臺

52105 1116

很容易擴展的平臺

53105 1116

54105 1116

Runbook偵錯與事件記錄

55105 1116

56105 1116

57105 1116

58105 1116

59105 1116

60105 1116

ltruntimegt

ltgeneratePublisherEvidence enabled=falsegt

ltruntimegt

61105 1116

aspt RunbookServer1 40

aspt 40

62105 1116

Service Management Automation (SMA) 介紹

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 14: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

14105 1116

15105 1116

httptechnetmicrosoftcomen-uslibraryhh420361aspx

16105 1116

17105 1116

18105 1116

19105 1116

20105 1116

21105 1116

22105 1116

Runbook設計與執行

23105 1116

24105 1116

25105 1116

26105 1116

通知 稽核

流程

錯誤處理

27105 1116

28105 1116

29105 1116

30105 1116

31105 1116

2 定義迴圈結束條件

1 啓用迴圈

32105 1116

33105 1116

34105 1116

撰寫指令碼

35105 1116

36105 1116

$p1 = aaa從 初始化資料

$p2 = bbb 從 初始化資料

$Session = New-PSSession -ComputerName SVR1

$ResultArray = Invoke-Command -Session $Session

-ArgumentList $p1 $p2 $p3 -ScriptBlock

Param ( $p1 $p2 $p3 )

要執行的指令Return (xxx yyy hellip)

Remove-PSSession -Session $Session

$data1 = ResultArray[0] 取得 xxx

$data2 = ResultArray[1] 取得 yyy

37105 1116

[SystemReflectionAssembly]LoadWithPartialName(SystemWindowsForms)

$MsgBox = [SystemWindowsFormsMessageBox]

$MsgBoxShow(Hello World)

$result = $MsgBoxShow(Are you sure Title 4)

if ($result -eq Yes)

$MsgBoxShow(YES)

else

$MsgBoxShow(NO)

38105 1116

39105 1116

httpmsdnmicrosoftcomen-uslibraryhh921685aspx

httporchestratorcodeplexcomreleasesview87873

httporchestratorcodeplexcomreleasesview82959

40105 1116

51f9b950-6e33-465d-bc77-4d33e61831ff

41105 1116

-getparameters

42105 1116

43105 1116

44105 1116

45105 1116

整合其它系統 ndash Integration Packs

46105 1116

1

2

47105 1116

48105 1116

bull TFS

bull PowerShell

bull SharePoint

bull Active Directory

bull Exchange Mail and

Calendaring

bull Local Security

bull Scheduled Tasks

bull Utilities

bull Social media (Twitter)

bull Text Manipulation

bull F5

bull VMWare

bull Configuration Manager

2007

bull 4 BMC IPs- Kelverion

bull Dell -AIM IP

bull NetApp- OCPM IP

bull Cisco- UCS IP

bull Cisco- NCM

JaxMPFyrsoft

bull Kelverion- DBs IP

bull Kelverion-ServiceNow IP

bull Kelverion-Data

Manipulation IP

bull Kelverion-HTTP

Applications IP

bull Vision Solutions-

DoubleTake IP

bull VMWare vSphere

bull IBM Tivoli Netcool

bull HP OM

bull HP SM

bull HP iLo

bull Active Directory

bull MS Exchange User

bull MS Exchange Admin

bull FTP

bull New features added to

VMWare vSphere

bull REST

bull SharePoint

bull Windows Azure

微軟 協力廠商 Codeplex 社群

49105 1116

httpwwwmicrosoftcomen-usdownloaddetailsaspxid=39622

httptechnetmicrosoftcomen-uslibraryhh295851aspx

Codeplex社群 httporchestratorcodeplexcom

50105 1116

51105 1116

httpmsdnmicrosoftcomen-uslibraryhh855855aspx

很容易擴展的平臺

52105 1116

很容易擴展的平臺

53105 1116

54105 1116

Runbook偵錯與事件記錄

55105 1116

56105 1116

57105 1116

58105 1116

59105 1116

60105 1116

ltruntimegt

ltgeneratePublisherEvidence enabled=falsegt

ltruntimegt

61105 1116

aspt RunbookServer1 40

aspt 40

62105 1116

Service Management Automation (SMA) 介紹

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 15: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

15105 1116

httptechnetmicrosoftcomen-uslibraryhh420361aspx

16105 1116

17105 1116

18105 1116

19105 1116

20105 1116

21105 1116

22105 1116

Runbook設計與執行

23105 1116

24105 1116

25105 1116

26105 1116

通知 稽核

流程

錯誤處理

27105 1116

28105 1116

29105 1116

30105 1116

31105 1116

2 定義迴圈結束條件

1 啓用迴圈

32105 1116

33105 1116

34105 1116

撰寫指令碼

35105 1116

36105 1116

$p1 = aaa從 初始化資料

$p2 = bbb 從 初始化資料

$Session = New-PSSession -ComputerName SVR1

$ResultArray = Invoke-Command -Session $Session

-ArgumentList $p1 $p2 $p3 -ScriptBlock

Param ( $p1 $p2 $p3 )

要執行的指令Return (xxx yyy hellip)

Remove-PSSession -Session $Session

$data1 = ResultArray[0] 取得 xxx

$data2 = ResultArray[1] 取得 yyy

37105 1116

[SystemReflectionAssembly]LoadWithPartialName(SystemWindowsForms)

$MsgBox = [SystemWindowsFormsMessageBox]

$MsgBoxShow(Hello World)

$result = $MsgBoxShow(Are you sure Title 4)

if ($result -eq Yes)

$MsgBoxShow(YES)

else

$MsgBoxShow(NO)

38105 1116

39105 1116

httpmsdnmicrosoftcomen-uslibraryhh921685aspx

httporchestratorcodeplexcomreleasesview87873

httporchestratorcodeplexcomreleasesview82959

40105 1116

51f9b950-6e33-465d-bc77-4d33e61831ff

41105 1116

-getparameters

42105 1116

43105 1116

44105 1116

45105 1116

整合其它系統 ndash Integration Packs

46105 1116

1

2

47105 1116

48105 1116

bull TFS

bull PowerShell

bull SharePoint

bull Active Directory

bull Exchange Mail and

Calendaring

bull Local Security

bull Scheduled Tasks

bull Utilities

bull Social media (Twitter)

bull Text Manipulation

bull F5

bull VMWare

bull Configuration Manager

2007

bull 4 BMC IPs- Kelverion

bull Dell -AIM IP

bull NetApp- OCPM IP

bull Cisco- UCS IP

bull Cisco- NCM

JaxMPFyrsoft

bull Kelverion- DBs IP

bull Kelverion-ServiceNow IP

bull Kelverion-Data

Manipulation IP

bull Kelverion-HTTP

Applications IP

bull Vision Solutions-

DoubleTake IP

bull VMWare vSphere

bull IBM Tivoli Netcool

bull HP OM

bull HP SM

bull HP iLo

bull Active Directory

bull MS Exchange User

bull MS Exchange Admin

bull FTP

bull New features added to

VMWare vSphere

bull REST

bull SharePoint

bull Windows Azure

微軟 協力廠商 Codeplex 社群

49105 1116

httpwwwmicrosoftcomen-usdownloaddetailsaspxid=39622

httptechnetmicrosoftcomen-uslibraryhh295851aspx

Codeplex社群 httporchestratorcodeplexcom

50105 1116

51105 1116

httpmsdnmicrosoftcomen-uslibraryhh855855aspx

很容易擴展的平臺

52105 1116

很容易擴展的平臺

53105 1116

54105 1116

Runbook偵錯與事件記錄

55105 1116

56105 1116

57105 1116

58105 1116

59105 1116

60105 1116

ltruntimegt

ltgeneratePublisherEvidence enabled=falsegt

ltruntimegt

61105 1116

aspt RunbookServer1 40

aspt 40

62105 1116

Service Management Automation (SMA) 介紹

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 16: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

16105 1116

17105 1116

18105 1116

19105 1116

20105 1116

21105 1116

22105 1116

Runbook設計與執行

23105 1116

24105 1116

25105 1116

26105 1116

通知 稽核

流程

錯誤處理

27105 1116

28105 1116

29105 1116

30105 1116

31105 1116

2 定義迴圈結束條件

1 啓用迴圈

32105 1116

33105 1116

34105 1116

撰寫指令碼

35105 1116

36105 1116

$p1 = aaa從 初始化資料

$p2 = bbb 從 初始化資料

$Session = New-PSSession -ComputerName SVR1

$ResultArray = Invoke-Command -Session $Session

-ArgumentList $p1 $p2 $p3 -ScriptBlock

Param ( $p1 $p2 $p3 )

要執行的指令Return (xxx yyy hellip)

Remove-PSSession -Session $Session

$data1 = ResultArray[0] 取得 xxx

$data2 = ResultArray[1] 取得 yyy

37105 1116

[SystemReflectionAssembly]LoadWithPartialName(SystemWindowsForms)

$MsgBox = [SystemWindowsFormsMessageBox]

$MsgBoxShow(Hello World)

$result = $MsgBoxShow(Are you sure Title 4)

if ($result -eq Yes)

$MsgBoxShow(YES)

else

$MsgBoxShow(NO)

38105 1116

39105 1116

httpmsdnmicrosoftcomen-uslibraryhh921685aspx

httporchestratorcodeplexcomreleasesview87873

httporchestratorcodeplexcomreleasesview82959

40105 1116

51f9b950-6e33-465d-bc77-4d33e61831ff

41105 1116

-getparameters

42105 1116

43105 1116

44105 1116

45105 1116

整合其它系統 ndash Integration Packs

46105 1116

1

2

47105 1116

48105 1116

bull TFS

bull PowerShell

bull SharePoint

bull Active Directory

bull Exchange Mail and

Calendaring

bull Local Security

bull Scheduled Tasks

bull Utilities

bull Social media (Twitter)

bull Text Manipulation

bull F5

bull VMWare

bull Configuration Manager

2007

bull 4 BMC IPs- Kelverion

bull Dell -AIM IP

bull NetApp- OCPM IP

bull Cisco- UCS IP

bull Cisco- NCM

JaxMPFyrsoft

bull Kelverion- DBs IP

bull Kelverion-ServiceNow IP

bull Kelverion-Data

Manipulation IP

bull Kelverion-HTTP

Applications IP

bull Vision Solutions-

DoubleTake IP

bull VMWare vSphere

bull IBM Tivoli Netcool

bull HP OM

bull HP SM

bull HP iLo

bull Active Directory

bull MS Exchange User

bull MS Exchange Admin

bull FTP

bull New features added to

VMWare vSphere

bull REST

bull SharePoint

bull Windows Azure

微軟 協力廠商 Codeplex 社群

49105 1116

httpwwwmicrosoftcomen-usdownloaddetailsaspxid=39622

httptechnetmicrosoftcomen-uslibraryhh295851aspx

Codeplex社群 httporchestratorcodeplexcom

50105 1116

51105 1116

httpmsdnmicrosoftcomen-uslibraryhh855855aspx

很容易擴展的平臺

52105 1116

很容易擴展的平臺

53105 1116

54105 1116

Runbook偵錯與事件記錄

55105 1116

56105 1116

57105 1116

58105 1116

59105 1116

60105 1116

ltruntimegt

ltgeneratePublisherEvidence enabled=falsegt

ltruntimegt

61105 1116

aspt RunbookServer1 40

aspt 40

62105 1116

Service Management Automation (SMA) 介紹

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 17: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

17105 1116

18105 1116

19105 1116

20105 1116

21105 1116

22105 1116

Runbook設計與執行

23105 1116

24105 1116

25105 1116

26105 1116

通知 稽核

流程

錯誤處理

27105 1116

28105 1116

29105 1116

30105 1116

31105 1116

2 定義迴圈結束條件

1 啓用迴圈

32105 1116

33105 1116

34105 1116

撰寫指令碼

35105 1116

36105 1116

$p1 = aaa從 初始化資料

$p2 = bbb 從 初始化資料

$Session = New-PSSession -ComputerName SVR1

$ResultArray = Invoke-Command -Session $Session

-ArgumentList $p1 $p2 $p3 -ScriptBlock

Param ( $p1 $p2 $p3 )

要執行的指令Return (xxx yyy hellip)

Remove-PSSession -Session $Session

$data1 = ResultArray[0] 取得 xxx

$data2 = ResultArray[1] 取得 yyy

37105 1116

[SystemReflectionAssembly]LoadWithPartialName(SystemWindowsForms)

$MsgBox = [SystemWindowsFormsMessageBox]

$MsgBoxShow(Hello World)

$result = $MsgBoxShow(Are you sure Title 4)

if ($result -eq Yes)

$MsgBoxShow(YES)

else

$MsgBoxShow(NO)

38105 1116

39105 1116

httpmsdnmicrosoftcomen-uslibraryhh921685aspx

httporchestratorcodeplexcomreleasesview87873

httporchestratorcodeplexcomreleasesview82959

40105 1116

51f9b950-6e33-465d-bc77-4d33e61831ff

41105 1116

-getparameters

42105 1116

43105 1116

44105 1116

45105 1116

整合其它系統 ndash Integration Packs

46105 1116

1

2

47105 1116

48105 1116

bull TFS

bull PowerShell

bull SharePoint

bull Active Directory

bull Exchange Mail and

Calendaring

bull Local Security

bull Scheduled Tasks

bull Utilities

bull Social media (Twitter)

bull Text Manipulation

bull F5

bull VMWare

bull Configuration Manager

2007

bull 4 BMC IPs- Kelverion

bull Dell -AIM IP

bull NetApp- OCPM IP

bull Cisco- UCS IP

bull Cisco- NCM

JaxMPFyrsoft

bull Kelverion- DBs IP

bull Kelverion-ServiceNow IP

bull Kelverion-Data

Manipulation IP

bull Kelverion-HTTP

Applications IP

bull Vision Solutions-

DoubleTake IP

bull VMWare vSphere

bull IBM Tivoli Netcool

bull HP OM

bull HP SM

bull HP iLo

bull Active Directory

bull MS Exchange User

bull MS Exchange Admin

bull FTP

bull New features added to

VMWare vSphere

bull REST

bull SharePoint

bull Windows Azure

微軟 協力廠商 Codeplex 社群

49105 1116

httpwwwmicrosoftcomen-usdownloaddetailsaspxid=39622

httptechnetmicrosoftcomen-uslibraryhh295851aspx

Codeplex社群 httporchestratorcodeplexcom

50105 1116

51105 1116

httpmsdnmicrosoftcomen-uslibraryhh855855aspx

很容易擴展的平臺

52105 1116

很容易擴展的平臺

53105 1116

54105 1116

Runbook偵錯與事件記錄

55105 1116

56105 1116

57105 1116

58105 1116

59105 1116

60105 1116

ltruntimegt

ltgeneratePublisherEvidence enabled=falsegt

ltruntimegt

61105 1116

aspt RunbookServer1 40

aspt 40

62105 1116

Service Management Automation (SMA) 介紹

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 18: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

18105 1116

19105 1116

20105 1116

21105 1116

22105 1116

Runbook設計與執行

23105 1116

24105 1116

25105 1116

26105 1116

通知 稽核

流程

錯誤處理

27105 1116

28105 1116

29105 1116

30105 1116

31105 1116

2 定義迴圈結束條件

1 啓用迴圈

32105 1116

33105 1116

34105 1116

撰寫指令碼

35105 1116

36105 1116

$p1 = aaa從 初始化資料

$p2 = bbb 從 初始化資料

$Session = New-PSSession -ComputerName SVR1

$ResultArray = Invoke-Command -Session $Session

-ArgumentList $p1 $p2 $p3 -ScriptBlock

Param ( $p1 $p2 $p3 )

要執行的指令Return (xxx yyy hellip)

Remove-PSSession -Session $Session

$data1 = ResultArray[0] 取得 xxx

$data2 = ResultArray[1] 取得 yyy

37105 1116

[SystemReflectionAssembly]LoadWithPartialName(SystemWindowsForms)

$MsgBox = [SystemWindowsFormsMessageBox]

$MsgBoxShow(Hello World)

$result = $MsgBoxShow(Are you sure Title 4)

if ($result -eq Yes)

$MsgBoxShow(YES)

else

$MsgBoxShow(NO)

38105 1116

39105 1116

httpmsdnmicrosoftcomen-uslibraryhh921685aspx

httporchestratorcodeplexcomreleasesview87873

httporchestratorcodeplexcomreleasesview82959

40105 1116

51f9b950-6e33-465d-bc77-4d33e61831ff

41105 1116

-getparameters

42105 1116

43105 1116

44105 1116

45105 1116

整合其它系統 ndash Integration Packs

46105 1116

1

2

47105 1116

48105 1116

bull TFS

bull PowerShell

bull SharePoint

bull Active Directory

bull Exchange Mail and

Calendaring

bull Local Security

bull Scheduled Tasks

bull Utilities

bull Social media (Twitter)

bull Text Manipulation

bull F5

bull VMWare

bull Configuration Manager

2007

bull 4 BMC IPs- Kelverion

bull Dell -AIM IP

bull NetApp- OCPM IP

bull Cisco- UCS IP

bull Cisco- NCM

JaxMPFyrsoft

bull Kelverion- DBs IP

bull Kelverion-ServiceNow IP

bull Kelverion-Data

Manipulation IP

bull Kelverion-HTTP

Applications IP

bull Vision Solutions-

DoubleTake IP

bull VMWare vSphere

bull IBM Tivoli Netcool

bull HP OM

bull HP SM

bull HP iLo

bull Active Directory

bull MS Exchange User

bull MS Exchange Admin

bull FTP

bull New features added to

VMWare vSphere

bull REST

bull SharePoint

bull Windows Azure

微軟 協力廠商 Codeplex 社群

49105 1116

httpwwwmicrosoftcomen-usdownloaddetailsaspxid=39622

httptechnetmicrosoftcomen-uslibraryhh295851aspx

Codeplex社群 httporchestratorcodeplexcom

50105 1116

51105 1116

httpmsdnmicrosoftcomen-uslibraryhh855855aspx

很容易擴展的平臺

52105 1116

很容易擴展的平臺

53105 1116

54105 1116

Runbook偵錯與事件記錄

55105 1116

56105 1116

57105 1116

58105 1116

59105 1116

60105 1116

ltruntimegt

ltgeneratePublisherEvidence enabled=falsegt

ltruntimegt

61105 1116

aspt RunbookServer1 40

aspt 40

62105 1116

Service Management Automation (SMA) 介紹

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 19: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

19105 1116

20105 1116

21105 1116

22105 1116

Runbook設計與執行

23105 1116

24105 1116

25105 1116

26105 1116

通知 稽核

流程

錯誤處理

27105 1116

28105 1116

29105 1116

30105 1116

31105 1116

2 定義迴圈結束條件

1 啓用迴圈

32105 1116

33105 1116

34105 1116

撰寫指令碼

35105 1116

36105 1116

$p1 = aaa從 初始化資料

$p2 = bbb 從 初始化資料

$Session = New-PSSession -ComputerName SVR1

$ResultArray = Invoke-Command -Session $Session

-ArgumentList $p1 $p2 $p3 -ScriptBlock

Param ( $p1 $p2 $p3 )

要執行的指令Return (xxx yyy hellip)

Remove-PSSession -Session $Session

$data1 = ResultArray[0] 取得 xxx

$data2 = ResultArray[1] 取得 yyy

37105 1116

[SystemReflectionAssembly]LoadWithPartialName(SystemWindowsForms)

$MsgBox = [SystemWindowsFormsMessageBox]

$MsgBoxShow(Hello World)

$result = $MsgBoxShow(Are you sure Title 4)

if ($result -eq Yes)

$MsgBoxShow(YES)

else

$MsgBoxShow(NO)

38105 1116

39105 1116

httpmsdnmicrosoftcomen-uslibraryhh921685aspx

httporchestratorcodeplexcomreleasesview87873

httporchestratorcodeplexcomreleasesview82959

40105 1116

51f9b950-6e33-465d-bc77-4d33e61831ff

41105 1116

-getparameters

42105 1116

43105 1116

44105 1116

45105 1116

整合其它系統 ndash Integration Packs

46105 1116

1

2

47105 1116

48105 1116

bull TFS

bull PowerShell

bull SharePoint

bull Active Directory

bull Exchange Mail and

Calendaring

bull Local Security

bull Scheduled Tasks

bull Utilities

bull Social media (Twitter)

bull Text Manipulation

bull F5

bull VMWare

bull Configuration Manager

2007

bull 4 BMC IPs- Kelverion

bull Dell -AIM IP

bull NetApp- OCPM IP

bull Cisco- UCS IP

bull Cisco- NCM

JaxMPFyrsoft

bull Kelverion- DBs IP

bull Kelverion-ServiceNow IP

bull Kelverion-Data

Manipulation IP

bull Kelverion-HTTP

Applications IP

bull Vision Solutions-

DoubleTake IP

bull VMWare vSphere

bull IBM Tivoli Netcool

bull HP OM

bull HP SM

bull HP iLo

bull Active Directory

bull MS Exchange User

bull MS Exchange Admin

bull FTP

bull New features added to

VMWare vSphere

bull REST

bull SharePoint

bull Windows Azure

微軟 協力廠商 Codeplex 社群

49105 1116

httpwwwmicrosoftcomen-usdownloaddetailsaspxid=39622

httptechnetmicrosoftcomen-uslibraryhh295851aspx

Codeplex社群 httporchestratorcodeplexcom

50105 1116

51105 1116

httpmsdnmicrosoftcomen-uslibraryhh855855aspx

很容易擴展的平臺

52105 1116

很容易擴展的平臺

53105 1116

54105 1116

Runbook偵錯與事件記錄

55105 1116

56105 1116

57105 1116

58105 1116

59105 1116

60105 1116

ltruntimegt

ltgeneratePublisherEvidence enabled=falsegt

ltruntimegt

61105 1116

aspt RunbookServer1 40

aspt 40

62105 1116

Service Management Automation (SMA) 介紹

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 20: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

20105 1116

21105 1116

22105 1116

Runbook設計與執行

23105 1116

24105 1116

25105 1116

26105 1116

通知 稽核

流程

錯誤處理

27105 1116

28105 1116

29105 1116

30105 1116

31105 1116

2 定義迴圈結束條件

1 啓用迴圈

32105 1116

33105 1116

34105 1116

撰寫指令碼

35105 1116

36105 1116

$p1 = aaa從 初始化資料

$p2 = bbb 從 初始化資料

$Session = New-PSSession -ComputerName SVR1

$ResultArray = Invoke-Command -Session $Session

-ArgumentList $p1 $p2 $p3 -ScriptBlock

Param ( $p1 $p2 $p3 )

要執行的指令Return (xxx yyy hellip)

Remove-PSSession -Session $Session

$data1 = ResultArray[0] 取得 xxx

$data2 = ResultArray[1] 取得 yyy

37105 1116

[SystemReflectionAssembly]LoadWithPartialName(SystemWindowsForms)

$MsgBox = [SystemWindowsFormsMessageBox]

$MsgBoxShow(Hello World)

$result = $MsgBoxShow(Are you sure Title 4)

if ($result -eq Yes)

$MsgBoxShow(YES)

else

$MsgBoxShow(NO)

38105 1116

39105 1116

httpmsdnmicrosoftcomen-uslibraryhh921685aspx

httporchestratorcodeplexcomreleasesview87873

httporchestratorcodeplexcomreleasesview82959

40105 1116

51f9b950-6e33-465d-bc77-4d33e61831ff

41105 1116

-getparameters

42105 1116

43105 1116

44105 1116

45105 1116

整合其它系統 ndash Integration Packs

46105 1116

1

2

47105 1116

48105 1116

bull TFS

bull PowerShell

bull SharePoint

bull Active Directory

bull Exchange Mail and

Calendaring

bull Local Security

bull Scheduled Tasks

bull Utilities

bull Social media (Twitter)

bull Text Manipulation

bull F5

bull VMWare

bull Configuration Manager

2007

bull 4 BMC IPs- Kelverion

bull Dell -AIM IP

bull NetApp- OCPM IP

bull Cisco- UCS IP

bull Cisco- NCM

JaxMPFyrsoft

bull Kelverion- DBs IP

bull Kelverion-ServiceNow IP

bull Kelverion-Data

Manipulation IP

bull Kelverion-HTTP

Applications IP

bull Vision Solutions-

DoubleTake IP

bull VMWare vSphere

bull IBM Tivoli Netcool

bull HP OM

bull HP SM

bull HP iLo

bull Active Directory

bull MS Exchange User

bull MS Exchange Admin

bull FTP

bull New features added to

VMWare vSphere

bull REST

bull SharePoint

bull Windows Azure

微軟 協力廠商 Codeplex 社群

49105 1116

httpwwwmicrosoftcomen-usdownloaddetailsaspxid=39622

httptechnetmicrosoftcomen-uslibraryhh295851aspx

Codeplex社群 httporchestratorcodeplexcom

50105 1116

51105 1116

httpmsdnmicrosoftcomen-uslibraryhh855855aspx

很容易擴展的平臺

52105 1116

很容易擴展的平臺

53105 1116

54105 1116

Runbook偵錯與事件記錄

55105 1116

56105 1116

57105 1116

58105 1116

59105 1116

60105 1116

ltruntimegt

ltgeneratePublisherEvidence enabled=falsegt

ltruntimegt

61105 1116

aspt RunbookServer1 40

aspt 40

62105 1116

Service Management Automation (SMA) 介紹

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 21: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

21105 1116

22105 1116

Runbook設計與執行

23105 1116

24105 1116

25105 1116

26105 1116

通知 稽核

流程

錯誤處理

27105 1116

28105 1116

29105 1116

30105 1116

31105 1116

2 定義迴圈結束條件

1 啓用迴圈

32105 1116

33105 1116

34105 1116

撰寫指令碼

35105 1116

36105 1116

$p1 = aaa從 初始化資料

$p2 = bbb 從 初始化資料

$Session = New-PSSession -ComputerName SVR1

$ResultArray = Invoke-Command -Session $Session

-ArgumentList $p1 $p2 $p3 -ScriptBlock

Param ( $p1 $p2 $p3 )

要執行的指令Return (xxx yyy hellip)

Remove-PSSession -Session $Session

$data1 = ResultArray[0] 取得 xxx

$data2 = ResultArray[1] 取得 yyy

37105 1116

[SystemReflectionAssembly]LoadWithPartialName(SystemWindowsForms)

$MsgBox = [SystemWindowsFormsMessageBox]

$MsgBoxShow(Hello World)

$result = $MsgBoxShow(Are you sure Title 4)

if ($result -eq Yes)

$MsgBoxShow(YES)

else

$MsgBoxShow(NO)

38105 1116

39105 1116

httpmsdnmicrosoftcomen-uslibraryhh921685aspx

httporchestratorcodeplexcomreleasesview87873

httporchestratorcodeplexcomreleasesview82959

40105 1116

51f9b950-6e33-465d-bc77-4d33e61831ff

41105 1116

-getparameters

42105 1116

43105 1116

44105 1116

45105 1116

整合其它系統 ndash Integration Packs

46105 1116

1

2

47105 1116

48105 1116

bull TFS

bull PowerShell

bull SharePoint

bull Active Directory

bull Exchange Mail and

Calendaring

bull Local Security

bull Scheduled Tasks

bull Utilities

bull Social media (Twitter)

bull Text Manipulation

bull F5

bull VMWare

bull Configuration Manager

2007

bull 4 BMC IPs- Kelverion

bull Dell -AIM IP

bull NetApp- OCPM IP

bull Cisco- UCS IP

bull Cisco- NCM

JaxMPFyrsoft

bull Kelverion- DBs IP

bull Kelverion-ServiceNow IP

bull Kelverion-Data

Manipulation IP

bull Kelverion-HTTP

Applications IP

bull Vision Solutions-

DoubleTake IP

bull VMWare vSphere

bull IBM Tivoli Netcool

bull HP OM

bull HP SM

bull HP iLo

bull Active Directory

bull MS Exchange User

bull MS Exchange Admin

bull FTP

bull New features added to

VMWare vSphere

bull REST

bull SharePoint

bull Windows Azure

微軟 協力廠商 Codeplex 社群

49105 1116

httpwwwmicrosoftcomen-usdownloaddetailsaspxid=39622

httptechnetmicrosoftcomen-uslibraryhh295851aspx

Codeplex社群 httporchestratorcodeplexcom

50105 1116

51105 1116

httpmsdnmicrosoftcomen-uslibraryhh855855aspx

很容易擴展的平臺

52105 1116

很容易擴展的平臺

53105 1116

54105 1116

Runbook偵錯與事件記錄

55105 1116

56105 1116

57105 1116

58105 1116

59105 1116

60105 1116

ltruntimegt

ltgeneratePublisherEvidence enabled=falsegt

ltruntimegt

61105 1116

aspt RunbookServer1 40

aspt 40

62105 1116

Service Management Automation (SMA) 介紹

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 22: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

22105 1116

Runbook設計與執行

23105 1116

24105 1116

25105 1116

26105 1116

通知 稽核

流程

錯誤處理

27105 1116

28105 1116

29105 1116

30105 1116

31105 1116

2 定義迴圈結束條件

1 啓用迴圈

32105 1116

33105 1116

34105 1116

撰寫指令碼

35105 1116

36105 1116

$p1 = aaa從 初始化資料

$p2 = bbb 從 初始化資料

$Session = New-PSSession -ComputerName SVR1

$ResultArray = Invoke-Command -Session $Session

-ArgumentList $p1 $p2 $p3 -ScriptBlock

Param ( $p1 $p2 $p3 )

要執行的指令Return (xxx yyy hellip)

Remove-PSSession -Session $Session

$data1 = ResultArray[0] 取得 xxx

$data2 = ResultArray[1] 取得 yyy

37105 1116

[SystemReflectionAssembly]LoadWithPartialName(SystemWindowsForms)

$MsgBox = [SystemWindowsFormsMessageBox]

$MsgBoxShow(Hello World)

$result = $MsgBoxShow(Are you sure Title 4)

if ($result -eq Yes)

$MsgBoxShow(YES)

else

$MsgBoxShow(NO)

38105 1116

39105 1116

httpmsdnmicrosoftcomen-uslibraryhh921685aspx

httporchestratorcodeplexcomreleasesview87873

httporchestratorcodeplexcomreleasesview82959

40105 1116

51f9b950-6e33-465d-bc77-4d33e61831ff

41105 1116

-getparameters

42105 1116

43105 1116

44105 1116

45105 1116

整合其它系統 ndash Integration Packs

46105 1116

1

2

47105 1116

48105 1116

bull TFS

bull PowerShell

bull SharePoint

bull Active Directory

bull Exchange Mail and

Calendaring

bull Local Security

bull Scheduled Tasks

bull Utilities

bull Social media (Twitter)

bull Text Manipulation

bull F5

bull VMWare

bull Configuration Manager

2007

bull 4 BMC IPs- Kelverion

bull Dell -AIM IP

bull NetApp- OCPM IP

bull Cisco- UCS IP

bull Cisco- NCM

JaxMPFyrsoft

bull Kelverion- DBs IP

bull Kelverion-ServiceNow IP

bull Kelverion-Data

Manipulation IP

bull Kelverion-HTTP

Applications IP

bull Vision Solutions-

DoubleTake IP

bull VMWare vSphere

bull IBM Tivoli Netcool

bull HP OM

bull HP SM

bull HP iLo

bull Active Directory

bull MS Exchange User

bull MS Exchange Admin

bull FTP

bull New features added to

VMWare vSphere

bull REST

bull SharePoint

bull Windows Azure

微軟 協力廠商 Codeplex 社群

49105 1116

httpwwwmicrosoftcomen-usdownloaddetailsaspxid=39622

httptechnetmicrosoftcomen-uslibraryhh295851aspx

Codeplex社群 httporchestratorcodeplexcom

50105 1116

51105 1116

httpmsdnmicrosoftcomen-uslibraryhh855855aspx

很容易擴展的平臺

52105 1116

很容易擴展的平臺

53105 1116

54105 1116

Runbook偵錯與事件記錄

55105 1116

56105 1116

57105 1116

58105 1116

59105 1116

60105 1116

ltruntimegt

ltgeneratePublisherEvidence enabled=falsegt

ltruntimegt

61105 1116

aspt RunbookServer1 40

aspt 40

62105 1116

Service Management Automation (SMA) 介紹

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 23: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

23105 1116

24105 1116

25105 1116

26105 1116

通知 稽核

流程

錯誤處理

27105 1116

28105 1116

29105 1116

30105 1116

31105 1116

2 定義迴圈結束條件

1 啓用迴圈

32105 1116

33105 1116

34105 1116

撰寫指令碼

35105 1116

36105 1116

$p1 = aaa從 初始化資料

$p2 = bbb 從 初始化資料

$Session = New-PSSession -ComputerName SVR1

$ResultArray = Invoke-Command -Session $Session

-ArgumentList $p1 $p2 $p3 -ScriptBlock

Param ( $p1 $p2 $p3 )

要執行的指令Return (xxx yyy hellip)

Remove-PSSession -Session $Session

$data1 = ResultArray[0] 取得 xxx

$data2 = ResultArray[1] 取得 yyy

37105 1116

[SystemReflectionAssembly]LoadWithPartialName(SystemWindowsForms)

$MsgBox = [SystemWindowsFormsMessageBox]

$MsgBoxShow(Hello World)

$result = $MsgBoxShow(Are you sure Title 4)

if ($result -eq Yes)

$MsgBoxShow(YES)

else

$MsgBoxShow(NO)

38105 1116

39105 1116

httpmsdnmicrosoftcomen-uslibraryhh921685aspx

httporchestratorcodeplexcomreleasesview87873

httporchestratorcodeplexcomreleasesview82959

40105 1116

51f9b950-6e33-465d-bc77-4d33e61831ff

41105 1116

-getparameters

42105 1116

43105 1116

44105 1116

45105 1116

整合其它系統 ndash Integration Packs

46105 1116

1

2

47105 1116

48105 1116

bull TFS

bull PowerShell

bull SharePoint

bull Active Directory

bull Exchange Mail and

Calendaring

bull Local Security

bull Scheduled Tasks

bull Utilities

bull Social media (Twitter)

bull Text Manipulation

bull F5

bull VMWare

bull Configuration Manager

2007

bull 4 BMC IPs- Kelverion

bull Dell -AIM IP

bull NetApp- OCPM IP

bull Cisco- UCS IP

bull Cisco- NCM

JaxMPFyrsoft

bull Kelverion- DBs IP

bull Kelverion-ServiceNow IP

bull Kelverion-Data

Manipulation IP

bull Kelverion-HTTP

Applications IP

bull Vision Solutions-

DoubleTake IP

bull VMWare vSphere

bull IBM Tivoli Netcool

bull HP OM

bull HP SM

bull HP iLo

bull Active Directory

bull MS Exchange User

bull MS Exchange Admin

bull FTP

bull New features added to

VMWare vSphere

bull REST

bull SharePoint

bull Windows Azure

微軟 協力廠商 Codeplex 社群

49105 1116

httpwwwmicrosoftcomen-usdownloaddetailsaspxid=39622

httptechnetmicrosoftcomen-uslibraryhh295851aspx

Codeplex社群 httporchestratorcodeplexcom

50105 1116

51105 1116

httpmsdnmicrosoftcomen-uslibraryhh855855aspx

很容易擴展的平臺

52105 1116

很容易擴展的平臺

53105 1116

54105 1116

Runbook偵錯與事件記錄

55105 1116

56105 1116

57105 1116

58105 1116

59105 1116

60105 1116

ltruntimegt

ltgeneratePublisherEvidence enabled=falsegt

ltruntimegt

61105 1116

aspt RunbookServer1 40

aspt 40

62105 1116

Service Management Automation (SMA) 介紹

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 24: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

24105 1116

25105 1116

26105 1116

通知 稽核

流程

錯誤處理

27105 1116

28105 1116

29105 1116

30105 1116

31105 1116

2 定義迴圈結束條件

1 啓用迴圈

32105 1116

33105 1116

34105 1116

撰寫指令碼

35105 1116

36105 1116

$p1 = aaa從 初始化資料

$p2 = bbb 從 初始化資料

$Session = New-PSSession -ComputerName SVR1

$ResultArray = Invoke-Command -Session $Session

-ArgumentList $p1 $p2 $p3 -ScriptBlock

Param ( $p1 $p2 $p3 )

要執行的指令Return (xxx yyy hellip)

Remove-PSSession -Session $Session

$data1 = ResultArray[0] 取得 xxx

$data2 = ResultArray[1] 取得 yyy

37105 1116

[SystemReflectionAssembly]LoadWithPartialName(SystemWindowsForms)

$MsgBox = [SystemWindowsFormsMessageBox]

$MsgBoxShow(Hello World)

$result = $MsgBoxShow(Are you sure Title 4)

if ($result -eq Yes)

$MsgBoxShow(YES)

else

$MsgBoxShow(NO)

38105 1116

39105 1116

httpmsdnmicrosoftcomen-uslibraryhh921685aspx

httporchestratorcodeplexcomreleasesview87873

httporchestratorcodeplexcomreleasesview82959

40105 1116

51f9b950-6e33-465d-bc77-4d33e61831ff

41105 1116

-getparameters

42105 1116

43105 1116

44105 1116

45105 1116

整合其它系統 ndash Integration Packs

46105 1116

1

2

47105 1116

48105 1116

bull TFS

bull PowerShell

bull SharePoint

bull Active Directory

bull Exchange Mail and

Calendaring

bull Local Security

bull Scheduled Tasks

bull Utilities

bull Social media (Twitter)

bull Text Manipulation

bull F5

bull VMWare

bull Configuration Manager

2007

bull 4 BMC IPs- Kelverion

bull Dell -AIM IP

bull NetApp- OCPM IP

bull Cisco- UCS IP

bull Cisco- NCM

JaxMPFyrsoft

bull Kelverion- DBs IP

bull Kelverion-ServiceNow IP

bull Kelverion-Data

Manipulation IP

bull Kelverion-HTTP

Applications IP

bull Vision Solutions-

DoubleTake IP

bull VMWare vSphere

bull IBM Tivoli Netcool

bull HP OM

bull HP SM

bull HP iLo

bull Active Directory

bull MS Exchange User

bull MS Exchange Admin

bull FTP

bull New features added to

VMWare vSphere

bull REST

bull SharePoint

bull Windows Azure

微軟 協力廠商 Codeplex 社群

49105 1116

httpwwwmicrosoftcomen-usdownloaddetailsaspxid=39622

httptechnetmicrosoftcomen-uslibraryhh295851aspx

Codeplex社群 httporchestratorcodeplexcom

50105 1116

51105 1116

httpmsdnmicrosoftcomen-uslibraryhh855855aspx

很容易擴展的平臺

52105 1116

很容易擴展的平臺

53105 1116

54105 1116

Runbook偵錯與事件記錄

55105 1116

56105 1116

57105 1116

58105 1116

59105 1116

60105 1116

ltruntimegt

ltgeneratePublisherEvidence enabled=falsegt

ltruntimegt

61105 1116

aspt RunbookServer1 40

aspt 40

62105 1116

Service Management Automation (SMA) 介紹

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 25: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

25105 1116

26105 1116

通知 稽核

流程

錯誤處理

27105 1116

28105 1116

29105 1116

30105 1116

31105 1116

2 定義迴圈結束條件

1 啓用迴圈

32105 1116

33105 1116

34105 1116

撰寫指令碼

35105 1116

36105 1116

$p1 = aaa從 初始化資料

$p2 = bbb 從 初始化資料

$Session = New-PSSession -ComputerName SVR1

$ResultArray = Invoke-Command -Session $Session

-ArgumentList $p1 $p2 $p3 -ScriptBlock

Param ( $p1 $p2 $p3 )

要執行的指令Return (xxx yyy hellip)

Remove-PSSession -Session $Session

$data1 = ResultArray[0] 取得 xxx

$data2 = ResultArray[1] 取得 yyy

37105 1116

[SystemReflectionAssembly]LoadWithPartialName(SystemWindowsForms)

$MsgBox = [SystemWindowsFormsMessageBox]

$MsgBoxShow(Hello World)

$result = $MsgBoxShow(Are you sure Title 4)

if ($result -eq Yes)

$MsgBoxShow(YES)

else

$MsgBoxShow(NO)

38105 1116

39105 1116

httpmsdnmicrosoftcomen-uslibraryhh921685aspx

httporchestratorcodeplexcomreleasesview87873

httporchestratorcodeplexcomreleasesview82959

40105 1116

51f9b950-6e33-465d-bc77-4d33e61831ff

41105 1116

-getparameters

42105 1116

43105 1116

44105 1116

45105 1116

整合其它系統 ndash Integration Packs

46105 1116

1

2

47105 1116

48105 1116

bull TFS

bull PowerShell

bull SharePoint

bull Active Directory

bull Exchange Mail and

Calendaring

bull Local Security

bull Scheduled Tasks

bull Utilities

bull Social media (Twitter)

bull Text Manipulation

bull F5

bull VMWare

bull Configuration Manager

2007

bull 4 BMC IPs- Kelverion

bull Dell -AIM IP

bull NetApp- OCPM IP

bull Cisco- UCS IP

bull Cisco- NCM

JaxMPFyrsoft

bull Kelverion- DBs IP

bull Kelverion-ServiceNow IP

bull Kelverion-Data

Manipulation IP

bull Kelverion-HTTP

Applications IP

bull Vision Solutions-

DoubleTake IP

bull VMWare vSphere

bull IBM Tivoli Netcool

bull HP OM

bull HP SM

bull HP iLo

bull Active Directory

bull MS Exchange User

bull MS Exchange Admin

bull FTP

bull New features added to

VMWare vSphere

bull REST

bull SharePoint

bull Windows Azure

微軟 協力廠商 Codeplex 社群

49105 1116

httpwwwmicrosoftcomen-usdownloaddetailsaspxid=39622

httptechnetmicrosoftcomen-uslibraryhh295851aspx

Codeplex社群 httporchestratorcodeplexcom

50105 1116

51105 1116

httpmsdnmicrosoftcomen-uslibraryhh855855aspx

很容易擴展的平臺

52105 1116

很容易擴展的平臺

53105 1116

54105 1116

Runbook偵錯與事件記錄

55105 1116

56105 1116

57105 1116

58105 1116

59105 1116

60105 1116

ltruntimegt

ltgeneratePublisherEvidence enabled=falsegt

ltruntimegt

61105 1116

aspt RunbookServer1 40

aspt 40

62105 1116

Service Management Automation (SMA) 介紹

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 26: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

26105 1116

通知 稽核

流程

錯誤處理

27105 1116

28105 1116

29105 1116

30105 1116

31105 1116

2 定義迴圈結束條件

1 啓用迴圈

32105 1116

33105 1116

34105 1116

撰寫指令碼

35105 1116

36105 1116

$p1 = aaa從 初始化資料

$p2 = bbb 從 初始化資料

$Session = New-PSSession -ComputerName SVR1

$ResultArray = Invoke-Command -Session $Session

-ArgumentList $p1 $p2 $p3 -ScriptBlock

Param ( $p1 $p2 $p3 )

要執行的指令Return (xxx yyy hellip)

Remove-PSSession -Session $Session

$data1 = ResultArray[0] 取得 xxx

$data2 = ResultArray[1] 取得 yyy

37105 1116

[SystemReflectionAssembly]LoadWithPartialName(SystemWindowsForms)

$MsgBox = [SystemWindowsFormsMessageBox]

$MsgBoxShow(Hello World)

$result = $MsgBoxShow(Are you sure Title 4)

if ($result -eq Yes)

$MsgBoxShow(YES)

else

$MsgBoxShow(NO)

38105 1116

39105 1116

httpmsdnmicrosoftcomen-uslibraryhh921685aspx

httporchestratorcodeplexcomreleasesview87873

httporchestratorcodeplexcomreleasesview82959

40105 1116

51f9b950-6e33-465d-bc77-4d33e61831ff

41105 1116

-getparameters

42105 1116

43105 1116

44105 1116

45105 1116

整合其它系統 ndash Integration Packs

46105 1116

1

2

47105 1116

48105 1116

bull TFS

bull PowerShell

bull SharePoint

bull Active Directory

bull Exchange Mail and

Calendaring

bull Local Security

bull Scheduled Tasks

bull Utilities

bull Social media (Twitter)

bull Text Manipulation

bull F5

bull VMWare

bull Configuration Manager

2007

bull 4 BMC IPs- Kelverion

bull Dell -AIM IP

bull NetApp- OCPM IP

bull Cisco- UCS IP

bull Cisco- NCM

JaxMPFyrsoft

bull Kelverion- DBs IP

bull Kelverion-ServiceNow IP

bull Kelverion-Data

Manipulation IP

bull Kelverion-HTTP

Applications IP

bull Vision Solutions-

DoubleTake IP

bull VMWare vSphere

bull IBM Tivoli Netcool

bull HP OM

bull HP SM

bull HP iLo

bull Active Directory

bull MS Exchange User

bull MS Exchange Admin

bull FTP

bull New features added to

VMWare vSphere

bull REST

bull SharePoint

bull Windows Azure

微軟 協力廠商 Codeplex 社群

49105 1116

httpwwwmicrosoftcomen-usdownloaddetailsaspxid=39622

httptechnetmicrosoftcomen-uslibraryhh295851aspx

Codeplex社群 httporchestratorcodeplexcom

50105 1116

51105 1116

httpmsdnmicrosoftcomen-uslibraryhh855855aspx

很容易擴展的平臺

52105 1116

很容易擴展的平臺

53105 1116

54105 1116

Runbook偵錯與事件記錄

55105 1116

56105 1116

57105 1116

58105 1116

59105 1116

60105 1116

ltruntimegt

ltgeneratePublisherEvidence enabled=falsegt

ltruntimegt

61105 1116

aspt RunbookServer1 40

aspt 40

62105 1116

Service Management Automation (SMA) 介紹

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 27: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

27105 1116

28105 1116

29105 1116

30105 1116

31105 1116

2 定義迴圈結束條件

1 啓用迴圈

32105 1116

33105 1116

34105 1116

撰寫指令碼

35105 1116

36105 1116

$p1 = aaa從 初始化資料

$p2 = bbb 從 初始化資料

$Session = New-PSSession -ComputerName SVR1

$ResultArray = Invoke-Command -Session $Session

-ArgumentList $p1 $p2 $p3 -ScriptBlock

Param ( $p1 $p2 $p3 )

要執行的指令Return (xxx yyy hellip)

Remove-PSSession -Session $Session

$data1 = ResultArray[0] 取得 xxx

$data2 = ResultArray[1] 取得 yyy

37105 1116

[SystemReflectionAssembly]LoadWithPartialName(SystemWindowsForms)

$MsgBox = [SystemWindowsFormsMessageBox]

$MsgBoxShow(Hello World)

$result = $MsgBoxShow(Are you sure Title 4)

if ($result -eq Yes)

$MsgBoxShow(YES)

else

$MsgBoxShow(NO)

38105 1116

39105 1116

httpmsdnmicrosoftcomen-uslibraryhh921685aspx

httporchestratorcodeplexcomreleasesview87873

httporchestratorcodeplexcomreleasesview82959

40105 1116

51f9b950-6e33-465d-bc77-4d33e61831ff

41105 1116

-getparameters

42105 1116

43105 1116

44105 1116

45105 1116

整合其它系統 ndash Integration Packs

46105 1116

1

2

47105 1116

48105 1116

bull TFS

bull PowerShell

bull SharePoint

bull Active Directory

bull Exchange Mail and

Calendaring

bull Local Security

bull Scheduled Tasks

bull Utilities

bull Social media (Twitter)

bull Text Manipulation

bull F5

bull VMWare

bull Configuration Manager

2007

bull 4 BMC IPs- Kelverion

bull Dell -AIM IP

bull NetApp- OCPM IP

bull Cisco- UCS IP

bull Cisco- NCM

JaxMPFyrsoft

bull Kelverion- DBs IP

bull Kelverion-ServiceNow IP

bull Kelverion-Data

Manipulation IP

bull Kelverion-HTTP

Applications IP

bull Vision Solutions-

DoubleTake IP

bull VMWare vSphere

bull IBM Tivoli Netcool

bull HP OM

bull HP SM

bull HP iLo

bull Active Directory

bull MS Exchange User

bull MS Exchange Admin

bull FTP

bull New features added to

VMWare vSphere

bull REST

bull SharePoint

bull Windows Azure

微軟 協力廠商 Codeplex 社群

49105 1116

httpwwwmicrosoftcomen-usdownloaddetailsaspxid=39622

httptechnetmicrosoftcomen-uslibraryhh295851aspx

Codeplex社群 httporchestratorcodeplexcom

50105 1116

51105 1116

httpmsdnmicrosoftcomen-uslibraryhh855855aspx

很容易擴展的平臺

52105 1116

很容易擴展的平臺

53105 1116

54105 1116

Runbook偵錯與事件記錄

55105 1116

56105 1116

57105 1116

58105 1116

59105 1116

60105 1116

ltruntimegt

ltgeneratePublisherEvidence enabled=falsegt

ltruntimegt

61105 1116

aspt RunbookServer1 40

aspt 40

62105 1116

Service Management Automation (SMA) 介紹

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 28: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

28105 1116

29105 1116

30105 1116

31105 1116

2 定義迴圈結束條件

1 啓用迴圈

32105 1116

33105 1116

34105 1116

撰寫指令碼

35105 1116

36105 1116

$p1 = aaa從 初始化資料

$p2 = bbb 從 初始化資料

$Session = New-PSSession -ComputerName SVR1

$ResultArray = Invoke-Command -Session $Session

-ArgumentList $p1 $p2 $p3 -ScriptBlock

Param ( $p1 $p2 $p3 )

要執行的指令Return (xxx yyy hellip)

Remove-PSSession -Session $Session

$data1 = ResultArray[0] 取得 xxx

$data2 = ResultArray[1] 取得 yyy

37105 1116

[SystemReflectionAssembly]LoadWithPartialName(SystemWindowsForms)

$MsgBox = [SystemWindowsFormsMessageBox]

$MsgBoxShow(Hello World)

$result = $MsgBoxShow(Are you sure Title 4)

if ($result -eq Yes)

$MsgBoxShow(YES)

else

$MsgBoxShow(NO)

38105 1116

39105 1116

httpmsdnmicrosoftcomen-uslibraryhh921685aspx

httporchestratorcodeplexcomreleasesview87873

httporchestratorcodeplexcomreleasesview82959

40105 1116

51f9b950-6e33-465d-bc77-4d33e61831ff

41105 1116

-getparameters

42105 1116

43105 1116

44105 1116

45105 1116

整合其它系統 ndash Integration Packs

46105 1116

1

2

47105 1116

48105 1116

bull TFS

bull PowerShell

bull SharePoint

bull Active Directory

bull Exchange Mail and

Calendaring

bull Local Security

bull Scheduled Tasks

bull Utilities

bull Social media (Twitter)

bull Text Manipulation

bull F5

bull VMWare

bull Configuration Manager

2007

bull 4 BMC IPs- Kelverion

bull Dell -AIM IP

bull NetApp- OCPM IP

bull Cisco- UCS IP

bull Cisco- NCM

JaxMPFyrsoft

bull Kelverion- DBs IP

bull Kelverion-ServiceNow IP

bull Kelverion-Data

Manipulation IP

bull Kelverion-HTTP

Applications IP

bull Vision Solutions-

DoubleTake IP

bull VMWare vSphere

bull IBM Tivoli Netcool

bull HP OM

bull HP SM

bull HP iLo

bull Active Directory

bull MS Exchange User

bull MS Exchange Admin

bull FTP

bull New features added to

VMWare vSphere

bull REST

bull SharePoint

bull Windows Azure

微軟 協力廠商 Codeplex 社群

49105 1116

httpwwwmicrosoftcomen-usdownloaddetailsaspxid=39622

httptechnetmicrosoftcomen-uslibraryhh295851aspx

Codeplex社群 httporchestratorcodeplexcom

50105 1116

51105 1116

httpmsdnmicrosoftcomen-uslibraryhh855855aspx

很容易擴展的平臺

52105 1116

很容易擴展的平臺

53105 1116

54105 1116

Runbook偵錯與事件記錄

55105 1116

56105 1116

57105 1116

58105 1116

59105 1116

60105 1116

ltruntimegt

ltgeneratePublisherEvidence enabled=falsegt

ltruntimegt

61105 1116

aspt RunbookServer1 40

aspt 40

62105 1116

Service Management Automation (SMA) 介紹

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 29: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

29105 1116

30105 1116

31105 1116

2 定義迴圈結束條件

1 啓用迴圈

32105 1116

33105 1116

34105 1116

撰寫指令碼

35105 1116

36105 1116

$p1 = aaa從 初始化資料

$p2 = bbb 從 初始化資料

$Session = New-PSSession -ComputerName SVR1

$ResultArray = Invoke-Command -Session $Session

-ArgumentList $p1 $p2 $p3 -ScriptBlock

Param ( $p1 $p2 $p3 )

要執行的指令Return (xxx yyy hellip)

Remove-PSSession -Session $Session

$data1 = ResultArray[0] 取得 xxx

$data2 = ResultArray[1] 取得 yyy

37105 1116

[SystemReflectionAssembly]LoadWithPartialName(SystemWindowsForms)

$MsgBox = [SystemWindowsFormsMessageBox]

$MsgBoxShow(Hello World)

$result = $MsgBoxShow(Are you sure Title 4)

if ($result -eq Yes)

$MsgBoxShow(YES)

else

$MsgBoxShow(NO)

38105 1116

39105 1116

httpmsdnmicrosoftcomen-uslibraryhh921685aspx

httporchestratorcodeplexcomreleasesview87873

httporchestratorcodeplexcomreleasesview82959

40105 1116

51f9b950-6e33-465d-bc77-4d33e61831ff

41105 1116

-getparameters

42105 1116

43105 1116

44105 1116

45105 1116

整合其它系統 ndash Integration Packs

46105 1116

1

2

47105 1116

48105 1116

bull TFS

bull PowerShell

bull SharePoint

bull Active Directory

bull Exchange Mail and

Calendaring

bull Local Security

bull Scheduled Tasks

bull Utilities

bull Social media (Twitter)

bull Text Manipulation

bull F5

bull VMWare

bull Configuration Manager

2007

bull 4 BMC IPs- Kelverion

bull Dell -AIM IP

bull NetApp- OCPM IP

bull Cisco- UCS IP

bull Cisco- NCM

JaxMPFyrsoft

bull Kelverion- DBs IP

bull Kelverion-ServiceNow IP

bull Kelverion-Data

Manipulation IP

bull Kelverion-HTTP

Applications IP

bull Vision Solutions-

DoubleTake IP

bull VMWare vSphere

bull IBM Tivoli Netcool

bull HP OM

bull HP SM

bull HP iLo

bull Active Directory

bull MS Exchange User

bull MS Exchange Admin

bull FTP

bull New features added to

VMWare vSphere

bull REST

bull SharePoint

bull Windows Azure

微軟 協力廠商 Codeplex 社群

49105 1116

httpwwwmicrosoftcomen-usdownloaddetailsaspxid=39622

httptechnetmicrosoftcomen-uslibraryhh295851aspx

Codeplex社群 httporchestratorcodeplexcom

50105 1116

51105 1116

httpmsdnmicrosoftcomen-uslibraryhh855855aspx

很容易擴展的平臺

52105 1116

很容易擴展的平臺

53105 1116

54105 1116

Runbook偵錯與事件記錄

55105 1116

56105 1116

57105 1116

58105 1116

59105 1116

60105 1116

ltruntimegt

ltgeneratePublisherEvidence enabled=falsegt

ltruntimegt

61105 1116

aspt RunbookServer1 40

aspt 40

62105 1116

Service Management Automation (SMA) 介紹

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 30: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

30105 1116

31105 1116

2 定義迴圈結束條件

1 啓用迴圈

32105 1116

33105 1116

34105 1116

撰寫指令碼

35105 1116

36105 1116

$p1 = aaa從 初始化資料

$p2 = bbb 從 初始化資料

$Session = New-PSSession -ComputerName SVR1

$ResultArray = Invoke-Command -Session $Session

-ArgumentList $p1 $p2 $p3 -ScriptBlock

Param ( $p1 $p2 $p3 )

要執行的指令Return (xxx yyy hellip)

Remove-PSSession -Session $Session

$data1 = ResultArray[0] 取得 xxx

$data2 = ResultArray[1] 取得 yyy

37105 1116

[SystemReflectionAssembly]LoadWithPartialName(SystemWindowsForms)

$MsgBox = [SystemWindowsFormsMessageBox]

$MsgBoxShow(Hello World)

$result = $MsgBoxShow(Are you sure Title 4)

if ($result -eq Yes)

$MsgBoxShow(YES)

else

$MsgBoxShow(NO)

38105 1116

39105 1116

httpmsdnmicrosoftcomen-uslibraryhh921685aspx

httporchestratorcodeplexcomreleasesview87873

httporchestratorcodeplexcomreleasesview82959

40105 1116

51f9b950-6e33-465d-bc77-4d33e61831ff

41105 1116

-getparameters

42105 1116

43105 1116

44105 1116

45105 1116

整合其它系統 ndash Integration Packs

46105 1116

1

2

47105 1116

48105 1116

bull TFS

bull PowerShell

bull SharePoint

bull Active Directory

bull Exchange Mail and

Calendaring

bull Local Security

bull Scheduled Tasks

bull Utilities

bull Social media (Twitter)

bull Text Manipulation

bull F5

bull VMWare

bull Configuration Manager

2007

bull 4 BMC IPs- Kelverion

bull Dell -AIM IP

bull NetApp- OCPM IP

bull Cisco- UCS IP

bull Cisco- NCM

JaxMPFyrsoft

bull Kelverion- DBs IP

bull Kelverion-ServiceNow IP

bull Kelverion-Data

Manipulation IP

bull Kelverion-HTTP

Applications IP

bull Vision Solutions-

DoubleTake IP

bull VMWare vSphere

bull IBM Tivoli Netcool

bull HP OM

bull HP SM

bull HP iLo

bull Active Directory

bull MS Exchange User

bull MS Exchange Admin

bull FTP

bull New features added to

VMWare vSphere

bull REST

bull SharePoint

bull Windows Azure

微軟 協力廠商 Codeplex 社群

49105 1116

httpwwwmicrosoftcomen-usdownloaddetailsaspxid=39622

httptechnetmicrosoftcomen-uslibraryhh295851aspx

Codeplex社群 httporchestratorcodeplexcom

50105 1116

51105 1116

httpmsdnmicrosoftcomen-uslibraryhh855855aspx

很容易擴展的平臺

52105 1116

很容易擴展的平臺

53105 1116

54105 1116

Runbook偵錯與事件記錄

55105 1116

56105 1116

57105 1116

58105 1116

59105 1116

60105 1116

ltruntimegt

ltgeneratePublisherEvidence enabled=falsegt

ltruntimegt

61105 1116

aspt RunbookServer1 40

aspt 40

62105 1116

Service Management Automation (SMA) 介紹

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 31: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

31105 1116

2 定義迴圈結束條件

1 啓用迴圈

32105 1116

33105 1116

34105 1116

撰寫指令碼

35105 1116

36105 1116

$p1 = aaa從 初始化資料

$p2 = bbb 從 初始化資料

$Session = New-PSSession -ComputerName SVR1

$ResultArray = Invoke-Command -Session $Session

-ArgumentList $p1 $p2 $p3 -ScriptBlock

Param ( $p1 $p2 $p3 )

要執行的指令Return (xxx yyy hellip)

Remove-PSSession -Session $Session

$data1 = ResultArray[0] 取得 xxx

$data2 = ResultArray[1] 取得 yyy

37105 1116

[SystemReflectionAssembly]LoadWithPartialName(SystemWindowsForms)

$MsgBox = [SystemWindowsFormsMessageBox]

$MsgBoxShow(Hello World)

$result = $MsgBoxShow(Are you sure Title 4)

if ($result -eq Yes)

$MsgBoxShow(YES)

else

$MsgBoxShow(NO)

38105 1116

39105 1116

httpmsdnmicrosoftcomen-uslibraryhh921685aspx

httporchestratorcodeplexcomreleasesview87873

httporchestratorcodeplexcomreleasesview82959

40105 1116

51f9b950-6e33-465d-bc77-4d33e61831ff

41105 1116

-getparameters

42105 1116

43105 1116

44105 1116

45105 1116

整合其它系統 ndash Integration Packs

46105 1116

1

2

47105 1116

48105 1116

bull TFS

bull PowerShell

bull SharePoint

bull Active Directory

bull Exchange Mail and

Calendaring

bull Local Security

bull Scheduled Tasks

bull Utilities

bull Social media (Twitter)

bull Text Manipulation

bull F5

bull VMWare

bull Configuration Manager

2007

bull 4 BMC IPs- Kelverion

bull Dell -AIM IP

bull NetApp- OCPM IP

bull Cisco- UCS IP

bull Cisco- NCM

JaxMPFyrsoft

bull Kelverion- DBs IP

bull Kelverion-ServiceNow IP

bull Kelverion-Data

Manipulation IP

bull Kelverion-HTTP

Applications IP

bull Vision Solutions-

DoubleTake IP

bull VMWare vSphere

bull IBM Tivoli Netcool

bull HP OM

bull HP SM

bull HP iLo

bull Active Directory

bull MS Exchange User

bull MS Exchange Admin

bull FTP

bull New features added to

VMWare vSphere

bull REST

bull SharePoint

bull Windows Azure

微軟 協力廠商 Codeplex 社群

49105 1116

httpwwwmicrosoftcomen-usdownloaddetailsaspxid=39622

httptechnetmicrosoftcomen-uslibraryhh295851aspx

Codeplex社群 httporchestratorcodeplexcom

50105 1116

51105 1116

httpmsdnmicrosoftcomen-uslibraryhh855855aspx

很容易擴展的平臺

52105 1116

很容易擴展的平臺

53105 1116

54105 1116

Runbook偵錯與事件記錄

55105 1116

56105 1116

57105 1116

58105 1116

59105 1116

60105 1116

ltruntimegt

ltgeneratePublisherEvidence enabled=falsegt

ltruntimegt

61105 1116

aspt RunbookServer1 40

aspt 40

62105 1116

Service Management Automation (SMA) 介紹

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 32: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

32105 1116

33105 1116

34105 1116

撰寫指令碼

35105 1116

36105 1116

$p1 = aaa從 初始化資料

$p2 = bbb 從 初始化資料

$Session = New-PSSession -ComputerName SVR1

$ResultArray = Invoke-Command -Session $Session

-ArgumentList $p1 $p2 $p3 -ScriptBlock

Param ( $p1 $p2 $p3 )

要執行的指令Return (xxx yyy hellip)

Remove-PSSession -Session $Session

$data1 = ResultArray[0] 取得 xxx

$data2 = ResultArray[1] 取得 yyy

37105 1116

[SystemReflectionAssembly]LoadWithPartialName(SystemWindowsForms)

$MsgBox = [SystemWindowsFormsMessageBox]

$MsgBoxShow(Hello World)

$result = $MsgBoxShow(Are you sure Title 4)

if ($result -eq Yes)

$MsgBoxShow(YES)

else

$MsgBoxShow(NO)

38105 1116

39105 1116

httpmsdnmicrosoftcomen-uslibraryhh921685aspx

httporchestratorcodeplexcomreleasesview87873

httporchestratorcodeplexcomreleasesview82959

40105 1116

51f9b950-6e33-465d-bc77-4d33e61831ff

41105 1116

-getparameters

42105 1116

43105 1116

44105 1116

45105 1116

整合其它系統 ndash Integration Packs

46105 1116

1

2

47105 1116

48105 1116

bull TFS

bull PowerShell

bull SharePoint

bull Active Directory

bull Exchange Mail and

Calendaring

bull Local Security

bull Scheduled Tasks

bull Utilities

bull Social media (Twitter)

bull Text Manipulation

bull F5

bull VMWare

bull Configuration Manager

2007

bull 4 BMC IPs- Kelverion

bull Dell -AIM IP

bull NetApp- OCPM IP

bull Cisco- UCS IP

bull Cisco- NCM

JaxMPFyrsoft

bull Kelverion- DBs IP

bull Kelverion-ServiceNow IP

bull Kelverion-Data

Manipulation IP

bull Kelverion-HTTP

Applications IP

bull Vision Solutions-

DoubleTake IP

bull VMWare vSphere

bull IBM Tivoli Netcool

bull HP OM

bull HP SM

bull HP iLo

bull Active Directory

bull MS Exchange User

bull MS Exchange Admin

bull FTP

bull New features added to

VMWare vSphere

bull REST

bull SharePoint

bull Windows Azure

微軟 協力廠商 Codeplex 社群

49105 1116

httpwwwmicrosoftcomen-usdownloaddetailsaspxid=39622

httptechnetmicrosoftcomen-uslibraryhh295851aspx

Codeplex社群 httporchestratorcodeplexcom

50105 1116

51105 1116

httpmsdnmicrosoftcomen-uslibraryhh855855aspx

很容易擴展的平臺

52105 1116

很容易擴展的平臺

53105 1116

54105 1116

Runbook偵錯與事件記錄

55105 1116

56105 1116

57105 1116

58105 1116

59105 1116

60105 1116

ltruntimegt

ltgeneratePublisherEvidence enabled=falsegt

ltruntimegt

61105 1116

aspt RunbookServer1 40

aspt 40

62105 1116

Service Management Automation (SMA) 介紹

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 33: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

33105 1116

34105 1116

撰寫指令碼

35105 1116

36105 1116

$p1 = aaa從 初始化資料

$p2 = bbb 從 初始化資料

$Session = New-PSSession -ComputerName SVR1

$ResultArray = Invoke-Command -Session $Session

-ArgumentList $p1 $p2 $p3 -ScriptBlock

Param ( $p1 $p2 $p3 )

要執行的指令Return (xxx yyy hellip)

Remove-PSSession -Session $Session

$data1 = ResultArray[0] 取得 xxx

$data2 = ResultArray[1] 取得 yyy

37105 1116

[SystemReflectionAssembly]LoadWithPartialName(SystemWindowsForms)

$MsgBox = [SystemWindowsFormsMessageBox]

$MsgBoxShow(Hello World)

$result = $MsgBoxShow(Are you sure Title 4)

if ($result -eq Yes)

$MsgBoxShow(YES)

else

$MsgBoxShow(NO)

38105 1116

39105 1116

httpmsdnmicrosoftcomen-uslibraryhh921685aspx

httporchestratorcodeplexcomreleasesview87873

httporchestratorcodeplexcomreleasesview82959

40105 1116

51f9b950-6e33-465d-bc77-4d33e61831ff

41105 1116

-getparameters

42105 1116

43105 1116

44105 1116

45105 1116

整合其它系統 ndash Integration Packs

46105 1116

1

2

47105 1116

48105 1116

bull TFS

bull PowerShell

bull SharePoint

bull Active Directory

bull Exchange Mail and

Calendaring

bull Local Security

bull Scheduled Tasks

bull Utilities

bull Social media (Twitter)

bull Text Manipulation

bull F5

bull VMWare

bull Configuration Manager

2007

bull 4 BMC IPs- Kelverion

bull Dell -AIM IP

bull NetApp- OCPM IP

bull Cisco- UCS IP

bull Cisco- NCM

JaxMPFyrsoft

bull Kelverion- DBs IP

bull Kelverion-ServiceNow IP

bull Kelverion-Data

Manipulation IP

bull Kelverion-HTTP

Applications IP

bull Vision Solutions-

DoubleTake IP

bull VMWare vSphere

bull IBM Tivoli Netcool

bull HP OM

bull HP SM

bull HP iLo

bull Active Directory

bull MS Exchange User

bull MS Exchange Admin

bull FTP

bull New features added to

VMWare vSphere

bull REST

bull SharePoint

bull Windows Azure

微軟 協力廠商 Codeplex 社群

49105 1116

httpwwwmicrosoftcomen-usdownloaddetailsaspxid=39622

httptechnetmicrosoftcomen-uslibraryhh295851aspx

Codeplex社群 httporchestratorcodeplexcom

50105 1116

51105 1116

httpmsdnmicrosoftcomen-uslibraryhh855855aspx

很容易擴展的平臺

52105 1116

很容易擴展的平臺

53105 1116

54105 1116

Runbook偵錯與事件記錄

55105 1116

56105 1116

57105 1116

58105 1116

59105 1116

60105 1116

ltruntimegt

ltgeneratePublisherEvidence enabled=falsegt

ltruntimegt

61105 1116

aspt RunbookServer1 40

aspt 40

62105 1116

Service Management Automation (SMA) 介紹

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 34: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

34105 1116

撰寫指令碼

35105 1116

36105 1116

$p1 = aaa從 初始化資料

$p2 = bbb 從 初始化資料

$Session = New-PSSession -ComputerName SVR1

$ResultArray = Invoke-Command -Session $Session

-ArgumentList $p1 $p2 $p3 -ScriptBlock

Param ( $p1 $p2 $p3 )

要執行的指令Return (xxx yyy hellip)

Remove-PSSession -Session $Session

$data1 = ResultArray[0] 取得 xxx

$data2 = ResultArray[1] 取得 yyy

37105 1116

[SystemReflectionAssembly]LoadWithPartialName(SystemWindowsForms)

$MsgBox = [SystemWindowsFormsMessageBox]

$MsgBoxShow(Hello World)

$result = $MsgBoxShow(Are you sure Title 4)

if ($result -eq Yes)

$MsgBoxShow(YES)

else

$MsgBoxShow(NO)

38105 1116

39105 1116

httpmsdnmicrosoftcomen-uslibraryhh921685aspx

httporchestratorcodeplexcomreleasesview87873

httporchestratorcodeplexcomreleasesview82959

40105 1116

51f9b950-6e33-465d-bc77-4d33e61831ff

41105 1116

-getparameters

42105 1116

43105 1116

44105 1116

45105 1116

整合其它系統 ndash Integration Packs

46105 1116

1

2

47105 1116

48105 1116

bull TFS

bull PowerShell

bull SharePoint

bull Active Directory

bull Exchange Mail and

Calendaring

bull Local Security

bull Scheduled Tasks

bull Utilities

bull Social media (Twitter)

bull Text Manipulation

bull F5

bull VMWare

bull Configuration Manager

2007

bull 4 BMC IPs- Kelverion

bull Dell -AIM IP

bull NetApp- OCPM IP

bull Cisco- UCS IP

bull Cisco- NCM

JaxMPFyrsoft

bull Kelverion- DBs IP

bull Kelverion-ServiceNow IP

bull Kelverion-Data

Manipulation IP

bull Kelverion-HTTP

Applications IP

bull Vision Solutions-

DoubleTake IP

bull VMWare vSphere

bull IBM Tivoli Netcool

bull HP OM

bull HP SM

bull HP iLo

bull Active Directory

bull MS Exchange User

bull MS Exchange Admin

bull FTP

bull New features added to

VMWare vSphere

bull REST

bull SharePoint

bull Windows Azure

微軟 協力廠商 Codeplex 社群

49105 1116

httpwwwmicrosoftcomen-usdownloaddetailsaspxid=39622

httptechnetmicrosoftcomen-uslibraryhh295851aspx

Codeplex社群 httporchestratorcodeplexcom

50105 1116

51105 1116

httpmsdnmicrosoftcomen-uslibraryhh855855aspx

很容易擴展的平臺

52105 1116

很容易擴展的平臺

53105 1116

54105 1116

Runbook偵錯與事件記錄

55105 1116

56105 1116

57105 1116

58105 1116

59105 1116

60105 1116

ltruntimegt

ltgeneratePublisherEvidence enabled=falsegt

ltruntimegt

61105 1116

aspt RunbookServer1 40

aspt 40

62105 1116

Service Management Automation (SMA) 介紹

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 35: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

35105 1116

36105 1116

$p1 = aaa從 初始化資料

$p2 = bbb 從 初始化資料

$Session = New-PSSession -ComputerName SVR1

$ResultArray = Invoke-Command -Session $Session

-ArgumentList $p1 $p2 $p3 -ScriptBlock

Param ( $p1 $p2 $p3 )

要執行的指令Return (xxx yyy hellip)

Remove-PSSession -Session $Session

$data1 = ResultArray[0] 取得 xxx

$data2 = ResultArray[1] 取得 yyy

37105 1116

[SystemReflectionAssembly]LoadWithPartialName(SystemWindowsForms)

$MsgBox = [SystemWindowsFormsMessageBox]

$MsgBoxShow(Hello World)

$result = $MsgBoxShow(Are you sure Title 4)

if ($result -eq Yes)

$MsgBoxShow(YES)

else

$MsgBoxShow(NO)

38105 1116

39105 1116

httpmsdnmicrosoftcomen-uslibraryhh921685aspx

httporchestratorcodeplexcomreleasesview87873

httporchestratorcodeplexcomreleasesview82959

40105 1116

51f9b950-6e33-465d-bc77-4d33e61831ff

41105 1116

-getparameters

42105 1116

43105 1116

44105 1116

45105 1116

整合其它系統 ndash Integration Packs

46105 1116

1

2

47105 1116

48105 1116

bull TFS

bull PowerShell

bull SharePoint

bull Active Directory

bull Exchange Mail and

Calendaring

bull Local Security

bull Scheduled Tasks

bull Utilities

bull Social media (Twitter)

bull Text Manipulation

bull F5

bull VMWare

bull Configuration Manager

2007

bull 4 BMC IPs- Kelverion

bull Dell -AIM IP

bull NetApp- OCPM IP

bull Cisco- UCS IP

bull Cisco- NCM

JaxMPFyrsoft

bull Kelverion- DBs IP

bull Kelverion-ServiceNow IP

bull Kelverion-Data

Manipulation IP

bull Kelverion-HTTP

Applications IP

bull Vision Solutions-

DoubleTake IP

bull VMWare vSphere

bull IBM Tivoli Netcool

bull HP OM

bull HP SM

bull HP iLo

bull Active Directory

bull MS Exchange User

bull MS Exchange Admin

bull FTP

bull New features added to

VMWare vSphere

bull REST

bull SharePoint

bull Windows Azure

微軟 協力廠商 Codeplex 社群

49105 1116

httpwwwmicrosoftcomen-usdownloaddetailsaspxid=39622

httptechnetmicrosoftcomen-uslibraryhh295851aspx

Codeplex社群 httporchestratorcodeplexcom

50105 1116

51105 1116

httpmsdnmicrosoftcomen-uslibraryhh855855aspx

很容易擴展的平臺

52105 1116

很容易擴展的平臺

53105 1116

54105 1116

Runbook偵錯與事件記錄

55105 1116

56105 1116

57105 1116

58105 1116

59105 1116

60105 1116

ltruntimegt

ltgeneratePublisherEvidence enabled=falsegt

ltruntimegt

61105 1116

aspt RunbookServer1 40

aspt 40

62105 1116

Service Management Automation (SMA) 介紹

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 36: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

36105 1116

$p1 = aaa從 初始化資料

$p2 = bbb 從 初始化資料

$Session = New-PSSession -ComputerName SVR1

$ResultArray = Invoke-Command -Session $Session

-ArgumentList $p1 $p2 $p3 -ScriptBlock

Param ( $p1 $p2 $p3 )

要執行的指令Return (xxx yyy hellip)

Remove-PSSession -Session $Session

$data1 = ResultArray[0] 取得 xxx

$data2 = ResultArray[1] 取得 yyy

37105 1116

[SystemReflectionAssembly]LoadWithPartialName(SystemWindowsForms)

$MsgBox = [SystemWindowsFormsMessageBox]

$MsgBoxShow(Hello World)

$result = $MsgBoxShow(Are you sure Title 4)

if ($result -eq Yes)

$MsgBoxShow(YES)

else

$MsgBoxShow(NO)

38105 1116

39105 1116

httpmsdnmicrosoftcomen-uslibraryhh921685aspx

httporchestratorcodeplexcomreleasesview87873

httporchestratorcodeplexcomreleasesview82959

40105 1116

51f9b950-6e33-465d-bc77-4d33e61831ff

41105 1116

-getparameters

42105 1116

43105 1116

44105 1116

45105 1116

整合其它系統 ndash Integration Packs

46105 1116

1

2

47105 1116

48105 1116

bull TFS

bull PowerShell

bull SharePoint

bull Active Directory

bull Exchange Mail and

Calendaring

bull Local Security

bull Scheduled Tasks

bull Utilities

bull Social media (Twitter)

bull Text Manipulation

bull F5

bull VMWare

bull Configuration Manager

2007

bull 4 BMC IPs- Kelverion

bull Dell -AIM IP

bull NetApp- OCPM IP

bull Cisco- UCS IP

bull Cisco- NCM

JaxMPFyrsoft

bull Kelverion- DBs IP

bull Kelverion-ServiceNow IP

bull Kelverion-Data

Manipulation IP

bull Kelverion-HTTP

Applications IP

bull Vision Solutions-

DoubleTake IP

bull VMWare vSphere

bull IBM Tivoli Netcool

bull HP OM

bull HP SM

bull HP iLo

bull Active Directory

bull MS Exchange User

bull MS Exchange Admin

bull FTP

bull New features added to

VMWare vSphere

bull REST

bull SharePoint

bull Windows Azure

微軟 協力廠商 Codeplex 社群

49105 1116

httpwwwmicrosoftcomen-usdownloaddetailsaspxid=39622

httptechnetmicrosoftcomen-uslibraryhh295851aspx

Codeplex社群 httporchestratorcodeplexcom

50105 1116

51105 1116

httpmsdnmicrosoftcomen-uslibraryhh855855aspx

很容易擴展的平臺

52105 1116

很容易擴展的平臺

53105 1116

54105 1116

Runbook偵錯與事件記錄

55105 1116

56105 1116

57105 1116

58105 1116

59105 1116

60105 1116

ltruntimegt

ltgeneratePublisherEvidence enabled=falsegt

ltruntimegt

61105 1116

aspt RunbookServer1 40

aspt 40

62105 1116

Service Management Automation (SMA) 介紹

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 37: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

37105 1116

[SystemReflectionAssembly]LoadWithPartialName(SystemWindowsForms)

$MsgBox = [SystemWindowsFormsMessageBox]

$MsgBoxShow(Hello World)

$result = $MsgBoxShow(Are you sure Title 4)

if ($result -eq Yes)

$MsgBoxShow(YES)

else

$MsgBoxShow(NO)

38105 1116

39105 1116

httpmsdnmicrosoftcomen-uslibraryhh921685aspx

httporchestratorcodeplexcomreleasesview87873

httporchestratorcodeplexcomreleasesview82959

40105 1116

51f9b950-6e33-465d-bc77-4d33e61831ff

41105 1116

-getparameters

42105 1116

43105 1116

44105 1116

45105 1116

整合其它系統 ndash Integration Packs

46105 1116

1

2

47105 1116

48105 1116

bull TFS

bull PowerShell

bull SharePoint

bull Active Directory

bull Exchange Mail and

Calendaring

bull Local Security

bull Scheduled Tasks

bull Utilities

bull Social media (Twitter)

bull Text Manipulation

bull F5

bull VMWare

bull Configuration Manager

2007

bull 4 BMC IPs- Kelverion

bull Dell -AIM IP

bull NetApp- OCPM IP

bull Cisco- UCS IP

bull Cisco- NCM

JaxMPFyrsoft

bull Kelverion- DBs IP

bull Kelverion-ServiceNow IP

bull Kelverion-Data

Manipulation IP

bull Kelverion-HTTP

Applications IP

bull Vision Solutions-

DoubleTake IP

bull VMWare vSphere

bull IBM Tivoli Netcool

bull HP OM

bull HP SM

bull HP iLo

bull Active Directory

bull MS Exchange User

bull MS Exchange Admin

bull FTP

bull New features added to

VMWare vSphere

bull REST

bull SharePoint

bull Windows Azure

微軟 協力廠商 Codeplex 社群

49105 1116

httpwwwmicrosoftcomen-usdownloaddetailsaspxid=39622

httptechnetmicrosoftcomen-uslibraryhh295851aspx

Codeplex社群 httporchestratorcodeplexcom

50105 1116

51105 1116

httpmsdnmicrosoftcomen-uslibraryhh855855aspx

很容易擴展的平臺

52105 1116

很容易擴展的平臺

53105 1116

54105 1116

Runbook偵錯與事件記錄

55105 1116

56105 1116

57105 1116

58105 1116

59105 1116

60105 1116

ltruntimegt

ltgeneratePublisherEvidence enabled=falsegt

ltruntimegt

61105 1116

aspt RunbookServer1 40

aspt 40

62105 1116

Service Management Automation (SMA) 介紹

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 38: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

38105 1116

39105 1116

httpmsdnmicrosoftcomen-uslibraryhh921685aspx

httporchestratorcodeplexcomreleasesview87873

httporchestratorcodeplexcomreleasesview82959

40105 1116

51f9b950-6e33-465d-bc77-4d33e61831ff

41105 1116

-getparameters

42105 1116

43105 1116

44105 1116

45105 1116

整合其它系統 ndash Integration Packs

46105 1116

1

2

47105 1116

48105 1116

bull TFS

bull PowerShell

bull SharePoint

bull Active Directory

bull Exchange Mail and

Calendaring

bull Local Security

bull Scheduled Tasks

bull Utilities

bull Social media (Twitter)

bull Text Manipulation

bull F5

bull VMWare

bull Configuration Manager

2007

bull 4 BMC IPs- Kelverion

bull Dell -AIM IP

bull NetApp- OCPM IP

bull Cisco- UCS IP

bull Cisco- NCM

JaxMPFyrsoft

bull Kelverion- DBs IP

bull Kelverion-ServiceNow IP

bull Kelverion-Data

Manipulation IP

bull Kelverion-HTTP

Applications IP

bull Vision Solutions-

DoubleTake IP

bull VMWare vSphere

bull IBM Tivoli Netcool

bull HP OM

bull HP SM

bull HP iLo

bull Active Directory

bull MS Exchange User

bull MS Exchange Admin

bull FTP

bull New features added to

VMWare vSphere

bull REST

bull SharePoint

bull Windows Azure

微軟 協力廠商 Codeplex 社群

49105 1116

httpwwwmicrosoftcomen-usdownloaddetailsaspxid=39622

httptechnetmicrosoftcomen-uslibraryhh295851aspx

Codeplex社群 httporchestratorcodeplexcom

50105 1116

51105 1116

httpmsdnmicrosoftcomen-uslibraryhh855855aspx

很容易擴展的平臺

52105 1116

很容易擴展的平臺

53105 1116

54105 1116

Runbook偵錯與事件記錄

55105 1116

56105 1116

57105 1116

58105 1116

59105 1116

60105 1116

ltruntimegt

ltgeneratePublisherEvidence enabled=falsegt

ltruntimegt

61105 1116

aspt RunbookServer1 40

aspt 40

62105 1116

Service Management Automation (SMA) 介紹

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 39: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

39105 1116

httpmsdnmicrosoftcomen-uslibraryhh921685aspx

httporchestratorcodeplexcomreleasesview87873

httporchestratorcodeplexcomreleasesview82959

40105 1116

51f9b950-6e33-465d-bc77-4d33e61831ff

41105 1116

-getparameters

42105 1116

43105 1116

44105 1116

45105 1116

整合其它系統 ndash Integration Packs

46105 1116

1

2

47105 1116

48105 1116

bull TFS

bull PowerShell

bull SharePoint

bull Active Directory

bull Exchange Mail and

Calendaring

bull Local Security

bull Scheduled Tasks

bull Utilities

bull Social media (Twitter)

bull Text Manipulation

bull F5

bull VMWare

bull Configuration Manager

2007

bull 4 BMC IPs- Kelverion

bull Dell -AIM IP

bull NetApp- OCPM IP

bull Cisco- UCS IP

bull Cisco- NCM

JaxMPFyrsoft

bull Kelverion- DBs IP

bull Kelverion-ServiceNow IP

bull Kelverion-Data

Manipulation IP

bull Kelverion-HTTP

Applications IP

bull Vision Solutions-

DoubleTake IP

bull VMWare vSphere

bull IBM Tivoli Netcool

bull HP OM

bull HP SM

bull HP iLo

bull Active Directory

bull MS Exchange User

bull MS Exchange Admin

bull FTP

bull New features added to

VMWare vSphere

bull REST

bull SharePoint

bull Windows Azure

微軟 協力廠商 Codeplex 社群

49105 1116

httpwwwmicrosoftcomen-usdownloaddetailsaspxid=39622

httptechnetmicrosoftcomen-uslibraryhh295851aspx

Codeplex社群 httporchestratorcodeplexcom

50105 1116

51105 1116

httpmsdnmicrosoftcomen-uslibraryhh855855aspx

很容易擴展的平臺

52105 1116

很容易擴展的平臺

53105 1116

54105 1116

Runbook偵錯與事件記錄

55105 1116

56105 1116

57105 1116

58105 1116

59105 1116

60105 1116

ltruntimegt

ltgeneratePublisherEvidence enabled=falsegt

ltruntimegt

61105 1116

aspt RunbookServer1 40

aspt 40

62105 1116

Service Management Automation (SMA) 介紹

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 40: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

40105 1116

51f9b950-6e33-465d-bc77-4d33e61831ff

41105 1116

-getparameters

42105 1116

43105 1116

44105 1116

45105 1116

整合其它系統 ndash Integration Packs

46105 1116

1

2

47105 1116

48105 1116

bull TFS

bull PowerShell

bull SharePoint

bull Active Directory

bull Exchange Mail and

Calendaring

bull Local Security

bull Scheduled Tasks

bull Utilities

bull Social media (Twitter)

bull Text Manipulation

bull F5

bull VMWare

bull Configuration Manager

2007

bull 4 BMC IPs- Kelverion

bull Dell -AIM IP

bull NetApp- OCPM IP

bull Cisco- UCS IP

bull Cisco- NCM

JaxMPFyrsoft

bull Kelverion- DBs IP

bull Kelverion-ServiceNow IP

bull Kelverion-Data

Manipulation IP

bull Kelverion-HTTP

Applications IP

bull Vision Solutions-

DoubleTake IP

bull VMWare vSphere

bull IBM Tivoli Netcool

bull HP OM

bull HP SM

bull HP iLo

bull Active Directory

bull MS Exchange User

bull MS Exchange Admin

bull FTP

bull New features added to

VMWare vSphere

bull REST

bull SharePoint

bull Windows Azure

微軟 協力廠商 Codeplex 社群

49105 1116

httpwwwmicrosoftcomen-usdownloaddetailsaspxid=39622

httptechnetmicrosoftcomen-uslibraryhh295851aspx

Codeplex社群 httporchestratorcodeplexcom

50105 1116

51105 1116

httpmsdnmicrosoftcomen-uslibraryhh855855aspx

很容易擴展的平臺

52105 1116

很容易擴展的平臺

53105 1116

54105 1116

Runbook偵錯與事件記錄

55105 1116

56105 1116

57105 1116

58105 1116

59105 1116

60105 1116

ltruntimegt

ltgeneratePublisherEvidence enabled=falsegt

ltruntimegt

61105 1116

aspt RunbookServer1 40

aspt 40

62105 1116

Service Management Automation (SMA) 介紹

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 41: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

41105 1116

-getparameters

42105 1116

43105 1116

44105 1116

45105 1116

整合其它系統 ndash Integration Packs

46105 1116

1

2

47105 1116

48105 1116

bull TFS

bull PowerShell

bull SharePoint

bull Active Directory

bull Exchange Mail and

Calendaring

bull Local Security

bull Scheduled Tasks

bull Utilities

bull Social media (Twitter)

bull Text Manipulation

bull F5

bull VMWare

bull Configuration Manager

2007

bull 4 BMC IPs- Kelverion

bull Dell -AIM IP

bull NetApp- OCPM IP

bull Cisco- UCS IP

bull Cisco- NCM

JaxMPFyrsoft

bull Kelverion- DBs IP

bull Kelverion-ServiceNow IP

bull Kelverion-Data

Manipulation IP

bull Kelverion-HTTP

Applications IP

bull Vision Solutions-

DoubleTake IP

bull VMWare vSphere

bull IBM Tivoli Netcool

bull HP OM

bull HP SM

bull HP iLo

bull Active Directory

bull MS Exchange User

bull MS Exchange Admin

bull FTP

bull New features added to

VMWare vSphere

bull REST

bull SharePoint

bull Windows Azure

微軟 協力廠商 Codeplex 社群

49105 1116

httpwwwmicrosoftcomen-usdownloaddetailsaspxid=39622

httptechnetmicrosoftcomen-uslibraryhh295851aspx

Codeplex社群 httporchestratorcodeplexcom

50105 1116

51105 1116

httpmsdnmicrosoftcomen-uslibraryhh855855aspx

很容易擴展的平臺

52105 1116

很容易擴展的平臺

53105 1116

54105 1116

Runbook偵錯與事件記錄

55105 1116

56105 1116

57105 1116

58105 1116

59105 1116

60105 1116

ltruntimegt

ltgeneratePublisherEvidence enabled=falsegt

ltruntimegt

61105 1116

aspt RunbookServer1 40

aspt 40

62105 1116

Service Management Automation (SMA) 介紹

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 42: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

42105 1116

43105 1116

44105 1116

45105 1116

整合其它系統 ndash Integration Packs

46105 1116

1

2

47105 1116

48105 1116

bull TFS

bull PowerShell

bull SharePoint

bull Active Directory

bull Exchange Mail and

Calendaring

bull Local Security

bull Scheduled Tasks

bull Utilities

bull Social media (Twitter)

bull Text Manipulation

bull F5

bull VMWare

bull Configuration Manager

2007

bull 4 BMC IPs- Kelverion

bull Dell -AIM IP

bull NetApp- OCPM IP

bull Cisco- UCS IP

bull Cisco- NCM

JaxMPFyrsoft

bull Kelverion- DBs IP

bull Kelverion-ServiceNow IP

bull Kelverion-Data

Manipulation IP

bull Kelverion-HTTP

Applications IP

bull Vision Solutions-

DoubleTake IP

bull VMWare vSphere

bull IBM Tivoli Netcool

bull HP OM

bull HP SM

bull HP iLo

bull Active Directory

bull MS Exchange User

bull MS Exchange Admin

bull FTP

bull New features added to

VMWare vSphere

bull REST

bull SharePoint

bull Windows Azure

微軟 協力廠商 Codeplex 社群

49105 1116

httpwwwmicrosoftcomen-usdownloaddetailsaspxid=39622

httptechnetmicrosoftcomen-uslibraryhh295851aspx

Codeplex社群 httporchestratorcodeplexcom

50105 1116

51105 1116

httpmsdnmicrosoftcomen-uslibraryhh855855aspx

很容易擴展的平臺

52105 1116

很容易擴展的平臺

53105 1116

54105 1116

Runbook偵錯與事件記錄

55105 1116

56105 1116

57105 1116

58105 1116

59105 1116

60105 1116

ltruntimegt

ltgeneratePublisherEvidence enabled=falsegt

ltruntimegt

61105 1116

aspt RunbookServer1 40

aspt 40

62105 1116

Service Management Automation (SMA) 介紹

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 43: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

43105 1116

44105 1116

45105 1116

整合其它系統 ndash Integration Packs

46105 1116

1

2

47105 1116

48105 1116

bull TFS

bull PowerShell

bull SharePoint

bull Active Directory

bull Exchange Mail and

Calendaring

bull Local Security

bull Scheduled Tasks

bull Utilities

bull Social media (Twitter)

bull Text Manipulation

bull F5

bull VMWare

bull Configuration Manager

2007

bull 4 BMC IPs- Kelverion

bull Dell -AIM IP

bull NetApp- OCPM IP

bull Cisco- UCS IP

bull Cisco- NCM

JaxMPFyrsoft

bull Kelverion- DBs IP

bull Kelverion-ServiceNow IP

bull Kelverion-Data

Manipulation IP

bull Kelverion-HTTP

Applications IP

bull Vision Solutions-

DoubleTake IP

bull VMWare vSphere

bull IBM Tivoli Netcool

bull HP OM

bull HP SM

bull HP iLo

bull Active Directory

bull MS Exchange User

bull MS Exchange Admin

bull FTP

bull New features added to

VMWare vSphere

bull REST

bull SharePoint

bull Windows Azure

微軟 協力廠商 Codeplex 社群

49105 1116

httpwwwmicrosoftcomen-usdownloaddetailsaspxid=39622

httptechnetmicrosoftcomen-uslibraryhh295851aspx

Codeplex社群 httporchestratorcodeplexcom

50105 1116

51105 1116

httpmsdnmicrosoftcomen-uslibraryhh855855aspx

很容易擴展的平臺

52105 1116

很容易擴展的平臺

53105 1116

54105 1116

Runbook偵錯與事件記錄

55105 1116

56105 1116

57105 1116

58105 1116

59105 1116

60105 1116

ltruntimegt

ltgeneratePublisherEvidence enabled=falsegt

ltruntimegt

61105 1116

aspt RunbookServer1 40

aspt 40

62105 1116

Service Management Automation (SMA) 介紹

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 44: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

44105 1116

45105 1116

整合其它系統 ndash Integration Packs

46105 1116

1

2

47105 1116

48105 1116

bull TFS

bull PowerShell

bull SharePoint

bull Active Directory

bull Exchange Mail and

Calendaring

bull Local Security

bull Scheduled Tasks

bull Utilities

bull Social media (Twitter)

bull Text Manipulation

bull F5

bull VMWare

bull Configuration Manager

2007

bull 4 BMC IPs- Kelverion

bull Dell -AIM IP

bull NetApp- OCPM IP

bull Cisco- UCS IP

bull Cisco- NCM

JaxMPFyrsoft

bull Kelverion- DBs IP

bull Kelverion-ServiceNow IP

bull Kelverion-Data

Manipulation IP

bull Kelverion-HTTP

Applications IP

bull Vision Solutions-

DoubleTake IP

bull VMWare vSphere

bull IBM Tivoli Netcool

bull HP OM

bull HP SM

bull HP iLo

bull Active Directory

bull MS Exchange User

bull MS Exchange Admin

bull FTP

bull New features added to

VMWare vSphere

bull REST

bull SharePoint

bull Windows Azure

微軟 協力廠商 Codeplex 社群

49105 1116

httpwwwmicrosoftcomen-usdownloaddetailsaspxid=39622

httptechnetmicrosoftcomen-uslibraryhh295851aspx

Codeplex社群 httporchestratorcodeplexcom

50105 1116

51105 1116

httpmsdnmicrosoftcomen-uslibraryhh855855aspx

很容易擴展的平臺

52105 1116

很容易擴展的平臺

53105 1116

54105 1116

Runbook偵錯與事件記錄

55105 1116

56105 1116

57105 1116

58105 1116

59105 1116

60105 1116

ltruntimegt

ltgeneratePublisherEvidence enabled=falsegt

ltruntimegt

61105 1116

aspt RunbookServer1 40

aspt 40

62105 1116

Service Management Automation (SMA) 介紹

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 45: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

45105 1116

整合其它系統 ndash Integration Packs

46105 1116

1

2

47105 1116

48105 1116

bull TFS

bull PowerShell

bull SharePoint

bull Active Directory

bull Exchange Mail and

Calendaring

bull Local Security

bull Scheduled Tasks

bull Utilities

bull Social media (Twitter)

bull Text Manipulation

bull F5

bull VMWare

bull Configuration Manager

2007

bull 4 BMC IPs- Kelverion

bull Dell -AIM IP

bull NetApp- OCPM IP

bull Cisco- UCS IP

bull Cisco- NCM

JaxMPFyrsoft

bull Kelverion- DBs IP

bull Kelverion-ServiceNow IP

bull Kelverion-Data

Manipulation IP

bull Kelverion-HTTP

Applications IP

bull Vision Solutions-

DoubleTake IP

bull VMWare vSphere

bull IBM Tivoli Netcool

bull HP OM

bull HP SM

bull HP iLo

bull Active Directory

bull MS Exchange User

bull MS Exchange Admin

bull FTP

bull New features added to

VMWare vSphere

bull REST

bull SharePoint

bull Windows Azure

微軟 協力廠商 Codeplex 社群

49105 1116

httpwwwmicrosoftcomen-usdownloaddetailsaspxid=39622

httptechnetmicrosoftcomen-uslibraryhh295851aspx

Codeplex社群 httporchestratorcodeplexcom

50105 1116

51105 1116

httpmsdnmicrosoftcomen-uslibraryhh855855aspx

很容易擴展的平臺

52105 1116

很容易擴展的平臺

53105 1116

54105 1116

Runbook偵錯與事件記錄

55105 1116

56105 1116

57105 1116

58105 1116

59105 1116

60105 1116

ltruntimegt

ltgeneratePublisherEvidence enabled=falsegt

ltruntimegt

61105 1116

aspt RunbookServer1 40

aspt 40

62105 1116

Service Management Automation (SMA) 介紹

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 46: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

46105 1116

1

2

47105 1116

48105 1116

bull TFS

bull PowerShell

bull SharePoint

bull Active Directory

bull Exchange Mail and

Calendaring

bull Local Security

bull Scheduled Tasks

bull Utilities

bull Social media (Twitter)

bull Text Manipulation

bull F5

bull VMWare

bull Configuration Manager

2007

bull 4 BMC IPs- Kelverion

bull Dell -AIM IP

bull NetApp- OCPM IP

bull Cisco- UCS IP

bull Cisco- NCM

JaxMPFyrsoft

bull Kelverion- DBs IP

bull Kelverion-ServiceNow IP

bull Kelverion-Data

Manipulation IP

bull Kelverion-HTTP

Applications IP

bull Vision Solutions-

DoubleTake IP

bull VMWare vSphere

bull IBM Tivoli Netcool

bull HP OM

bull HP SM

bull HP iLo

bull Active Directory

bull MS Exchange User

bull MS Exchange Admin

bull FTP

bull New features added to

VMWare vSphere

bull REST

bull SharePoint

bull Windows Azure

微軟 協力廠商 Codeplex 社群

49105 1116

httpwwwmicrosoftcomen-usdownloaddetailsaspxid=39622

httptechnetmicrosoftcomen-uslibraryhh295851aspx

Codeplex社群 httporchestratorcodeplexcom

50105 1116

51105 1116

httpmsdnmicrosoftcomen-uslibraryhh855855aspx

很容易擴展的平臺

52105 1116

很容易擴展的平臺

53105 1116

54105 1116

Runbook偵錯與事件記錄

55105 1116

56105 1116

57105 1116

58105 1116

59105 1116

60105 1116

ltruntimegt

ltgeneratePublisherEvidence enabled=falsegt

ltruntimegt

61105 1116

aspt RunbookServer1 40

aspt 40

62105 1116

Service Management Automation (SMA) 介紹

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 47: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

47105 1116

48105 1116

bull TFS

bull PowerShell

bull SharePoint

bull Active Directory

bull Exchange Mail and

Calendaring

bull Local Security

bull Scheduled Tasks

bull Utilities

bull Social media (Twitter)

bull Text Manipulation

bull F5

bull VMWare

bull Configuration Manager

2007

bull 4 BMC IPs- Kelverion

bull Dell -AIM IP

bull NetApp- OCPM IP

bull Cisco- UCS IP

bull Cisco- NCM

JaxMPFyrsoft

bull Kelverion- DBs IP

bull Kelverion-ServiceNow IP

bull Kelverion-Data

Manipulation IP

bull Kelverion-HTTP

Applications IP

bull Vision Solutions-

DoubleTake IP

bull VMWare vSphere

bull IBM Tivoli Netcool

bull HP OM

bull HP SM

bull HP iLo

bull Active Directory

bull MS Exchange User

bull MS Exchange Admin

bull FTP

bull New features added to

VMWare vSphere

bull REST

bull SharePoint

bull Windows Azure

微軟 協力廠商 Codeplex 社群

49105 1116

httpwwwmicrosoftcomen-usdownloaddetailsaspxid=39622

httptechnetmicrosoftcomen-uslibraryhh295851aspx

Codeplex社群 httporchestratorcodeplexcom

50105 1116

51105 1116

httpmsdnmicrosoftcomen-uslibraryhh855855aspx

很容易擴展的平臺

52105 1116

很容易擴展的平臺

53105 1116

54105 1116

Runbook偵錯與事件記錄

55105 1116

56105 1116

57105 1116

58105 1116

59105 1116

60105 1116

ltruntimegt

ltgeneratePublisherEvidence enabled=falsegt

ltruntimegt

61105 1116

aspt RunbookServer1 40

aspt 40

62105 1116

Service Management Automation (SMA) 介紹

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 48: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

48105 1116

bull TFS

bull PowerShell

bull SharePoint

bull Active Directory

bull Exchange Mail and

Calendaring

bull Local Security

bull Scheduled Tasks

bull Utilities

bull Social media (Twitter)

bull Text Manipulation

bull F5

bull VMWare

bull Configuration Manager

2007

bull 4 BMC IPs- Kelverion

bull Dell -AIM IP

bull NetApp- OCPM IP

bull Cisco- UCS IP

bull Cisco- NCM

JaxMPFyrsoft

bull Kelverion- DBs IP

bull Kelverion-ServiceNow IP

bull Kelverion-Data

Manipulation IP

bull Kelverion-HTTP

Applications IP

bull Vision Solutions-

DoubleTake IP

bull VMWare vSphere

bull IBM Tivoli Netcool

bull HP OM

bull HP SM

bull HP iLo

bull Active Directory

bull MS Exchange User

bull MS Exchange Admin

bull FTP

bull New features added to

VMWare vSphere

bull REST

bull SharePoint

bull Windows Azure

微軟 協力廠商 Codeplex 社群

49105 1116

httpwwwmicrosoftcomen-usdownloaddetailsaspxid=39622

httptechnetmicrosoftcomen-uslibraryhh295851aspx

Codeplex社群 httporchestratorcodeplexcom

50105 1116

51105 1116

httpmsdnmicrosoftcomen-uslibraryhh855855aspx

很容易擴展的平臺

52105 1116

很容易擴展的平臺

53105 1116

54105 1116

Runbook偵錯與事件記錄

55105 1116

56105 1116

57105 1116

58105 1116

59105 1116

60105 1116

ltruntimegt

ltgeneratePublisherEvidence enabled=falsegt

ltruntimegt

61105 1116

aspt RunbookServer1 40

aspt 40

62105 1116

Service Management Automation (SMA) 介紹

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 49: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

49105 1116

httpwwwmicrosoftcomen-usdownloaddetailsaspxid=39622

httptechnetmicrosoftcomen-uslibraryhh295851aspx

Codeplex社群 httporchestratorcodeplexcom

50105 1116

51105 1116

httpmsdnmicrosoftcomen-uslibraryhh855855aspx

很容易擴展的平臺

52105 1116

很容易擴展的平臺

53105 1116

54105 1116

Runbook偵錯與事件記錄

55105 1116

56105 1116

57105 1116

58105 1116

59105 1116

60105 1116

ltruntimegt

ltgeneratePublisherEvidence enabled=falsegt

ltruntimegt

61105 1116

aspt RunbookServer1 40

aspt 40

62105 1116

Service Management Automation (SMA) 介紹

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 50: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

50105 1116

51105 1116

httpmsdnmicrosoftcomen-uslibraryhh855855aspx

很容易擴展的平臺

52105 1116

很容易擴展的平臺

53105 1116

54105 1116

Runbook偵錯與事件記錄

55105 1116

56105 1116

57105 1116

58105 1116

59105 1116

60105 1116

ltruntimegt

ltgeneratePublisherEvidence enabled=falsegt

ltruntimegt

61105 1116

aspt RunbookServer1 40

aspt 40

62105 1116

Service Management Automation (SMA) 介紹

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 51: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

51105 1116

httpmsdnmicrosoftcomen-uslibraryhh855855aspx

很容易擴展的平臺

52105 1116

很容易擴展的平臺

53105 1116

54105 1116

Runbook偵錯與事件記錄

55105 1116

56105 1116

57105 1116

58105 1116

59105 1116

60105 1116

ltruntimegt

ltgeneratePublisherEvidence enabled=falsegt

ltruntimegt

61105 1116

aspt RunbookServer1 40

aspt 40

62105 1116

Service Management Automation (SMA) 介紹

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 52: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

52105 1116

很容易擴展的平臺

53105 1116

54105 1116

Runbook偵錯與事件記錄

55105 1116

56105 1116

57105 1116

58105 1116

59105 1116

60105 1116

ltruntimegt

ltgeneratePublisherEvidence enabled=falsegt

ltruntimegt

61105 1116

aspt RunbookServer1 40

aspt 40

62105 1116

Service Management Automation (SMA) 介紹

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 53: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

53105 1116

54105 1116

Runbook偵錯與事件記錄

55105 1116

56105 1116

57105 1116

58105 1116

59105 1116

60105 1116

ltruntimegt

ltgeneratePublisherEvidence enabled=falsegt

ltruntimegt

61105 1116

aspt RunbookServer1 40

aspt 40

62105 1116

Service Management Automation (SMA) 介紹

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 54: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

54105 1116

Runbook偵錯與事件記錄

55105 1116

56105 1116

57105 1116

58105 1116

59105 1116

60105 1116

ltruntimegt

ltgeneratePublisherEvidence enabled=falsegt

ltruntimegt

61105 1116

aspt RunbookServer1 40

aspt 40

62105 1116

Service Management Automation (SMA) 介紹

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 55: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

55105 1116

56105 1116

57105 1116

58105 1116

59105 1116

60105 1116

ltruntimegt

ltgeneratePublisherEvidence enabled=falsegt

ltruntimegt

61105 1116

aspt RunbookServer1 40

aspt 40

62105 1116

Service Management Automation (SMA) 介紹

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 56: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

56105 1116

57105 1116

58105 1116

59105 1116

60105 1116

ltruntimegt

ltgeneratePublisherEvidence enabled=falsegt

ltruntimegt

61105 1116

aspt RunbookServer1 40

aspt 40

62105 1116

Service Management Automation (SMA) 介紹

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 57: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

57105 1116

58105 1116

59105 1116

60105 1116

ltruntimegt

ltgeneratePublisherEvidence enabled=falsegt

ltruntimegt

61105 1116

aspt RunbookServer1 40

aspt 40

62105 1116

Service Management Automation (SMA) 介紹

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 58: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

58105 1116

59105 1116

60105 1116

ltruntimegt

ltgeneratePublisherEvidence enabled=falsegt

ltruntimegt

61105 1116

aspt RunbookServer1 40

aspt 40

62105 1116

Service Management Automation (SMA) 介紹

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 59: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

59105 1116

60105 1116

ltruntimegt

ltgeneratePublisherEvidence enabled=falsegt

ltruntimegt

61105 1116

aspt RunbookServer1 40

aspt 40

62105 1116

Service Management Automation (SMA) 介紹

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 60: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

60105 1116

ltruntimegt

ltgeneratePublisherEvidence enabled=falsegt

ltruntimegt

61105 1116

aspt RunbookServer1 40

aspt 40

62105 1116

Service Management Automation (SMA) 介紹

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 61: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

61105 1116

aspt RunbookServer1 40

aspt 40

62105 1116

Service Management Automation (SMA) 介紹

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 62: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

62105 1116

Service Management Automation (SMA) 介紹

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 63: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

63105 1116

Azure

監控系統

變動控制系統

其它

開發適用於 Azure 的 Runbook建立 Runbook 來自動化所有雲端的操作例如部署監控最佳化hellip

具備高可用性的引擎支援各種規模與高可用性以 PowerShell 工作流程為基礎獨立隔離的 Runbook工作

整合其它系統匯入 PowerShell 模組建立其它模組與 Runbook

連接到 Azure 服務或其它第三方系統

自動化

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 64: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

64105 1116

httpgallerytechnetmicrosoftcomsystemcenterService-Management-fcd75828

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 65: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

65105 1116

PowerShell 工

作流程

bull 使用Windows PowerShell 語法

bull 使用單一工作完成複雜需要面對面的

人工作業

bull 自動化錯誤復原

bull 連線與活動重試

集中式

儲存區

bull 身份資訊 憑證

bull 全域變數與連線

bull 模組

bull Runbooks (草稿與發佈)

bull 排程

高可用性

bull 多部 Runbook伺服器

bull OData Web Service

bull SQL Server 叢集 Always On

歷程分析

bull Runbook執行歷程

bull Excel PowerPivot 報表

bull Runbook使用狀況

PowerShell 工作流程

集中式儲存區

高可用性

歷程分析

Service Management Automation

(SMA)

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 66: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

66105 1116

ODATA REST Web Service

Runbooks

Jobs

Modules amp Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

bull 撰寫

bull 操作

Service Management Portal

bull PowerShell 工作流程

bull PowerShell 模組

Runbook Workers

bull REST OData

bull 授權

Web Service

bull 管理

bull 操作

Powershell Cmdlets

bull Runbook資源

bull Runbook工作狀況

SMA Database

PowerShell

Module

HTTP

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 67: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

67105 1116

整合 Orchestrator 與 SMA ndash混合雲環境

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 68: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

68105 1116

整合

httpblogstechnetcomborchestratorarchive20140209service-management-automation-integration-with-orchestratoraspx

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 69: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

69105 1116

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 70: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

70105 1116

SMA 整合 PowerShell 與 OData

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 71: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

71105 1116

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 72: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

72105 1116

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 73: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

73105 1116

bull Script Workflow Activities

bull CheckPoint-Workflow

bull

bull

bull

bull

bull Cmdlet Activities

bull SMA 會自動以 InlineScript執行的指令

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspx

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 74: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

74105 1116

bull Excluded Cmdlet

bull 沒有被實作成Workflow Activities 的指令

bull 不會自動以 InlineScript執行

bull 如果硬要執行 (不建議)

bull 參考 httptechnetmicrosoftcomen-uslibraryjj574194aspxBKMK_Excluded

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 75: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

75105 1116

$con = Get-AutomationConnection -Name MyConnection

$securepassword = ConvertTo-SecureString-AsPlainText -String $conPassword ndashForce

$cred = New-Object -TypeName SystemManagementAutomationPSCredential-ArgumentList $conUsername $securepassword

InlineScript

ltCommandsgt

ndashPSComputer $conComputerName ndashPSCredential $cred

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 76: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

76105 1116

bull httpgallerytechnetmicrosoftcomscriptcenter

bull 搜尋 SMA

bull SMA Runbook Update A SharePoint 2013 List Item

bull Monitor AWS amp VMware from SMA

bull SMA Runbook - Start SCOM Maintenance Mode

bull Calling an Orchestrator Runbook from a Service Management Automation (SMA)

bull Using DSC to keep SMA Runbook Workers up-to-date

bull hellip

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 77: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

77105 1116

讓你的應用程式整合 SMA 的兩種方式1連接 SMA OData Web 服務

2 使用 SMA PowerShell 模組提供的指令

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 78: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

78105 1116

-

-

httpso909000000000-0000-0000-0000-000000000000$metadata

httpso909000000000-0000-0000-0000-000000000000

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 79: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

79105 1116

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 80: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

80105 1116

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 81: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

81105 1116

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 82: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

82105 1116

整合第三方系統 ndash自訂 PowerShell 模組擴充 SMA

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 83: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

83105 1116

bull

bull

bull

bull-

bull

bullhttpblogstechnetcomborchestratorarchive20140612authoring-integration-modules-for-smaaspx

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 84: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

84105 1116

lt模組名稱gt-Automationjson

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 85: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

85105 1116

bull

bull 只是標準模組的 stub

bull 參考

bull httpblogstechnetcomborchestratorarchive20131104service-management-automation-portable-modules-what-why-and-howaspx

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 86: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

86105 1116

bull 標準模組可能使用到外部的 DLL

bull

bull 所以需要

bull

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 87: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

87105 1116

bull

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 88: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

88105 1116

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 89: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

89105 1116Microsoft Azure Automation 與 OMS

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 90: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

90105 1116

目前是預覽版httpsaccountwindowsazurecomPreviewFeatures

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 91: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

91105 1116

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 92: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

92105 1116

1 建立 Automation 帳戶

2 建立憑證並匯出 pfx與 cer檔

3 匯入憑證到 Microsoft Azure (cer)

4 建立Windows PowerShell Credential

5 建立 Automation Connection

6 上傳 Runbook (ps1) 或建立新的 Runbook

7 測試發佈執行

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 93: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

93105 1116

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 94: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

94105 1116

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 95: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

95105 1116

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 96: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

96105 1116

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 97: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

97105 1116

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 98: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

98105 1116

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 99: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

99105 1116

bull 匯出所有 Runbook

bull 保留所有整合模組 (zip)

bull 記錄所有 Automation 設定bull CONNECTION

bull CREDENTIAL

bull VARIABLE

bull SCHEDULE

bull 備份所有憑證

bull 記錄所有密碼bull 可以在 Runbook 中用 Get-AutomationPSCredential 查詢

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 100: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

100105 1116

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 101: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

101105 1116

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 102: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

102105 1116

httpwwwmicrosoftcomsystemcenter

httpsystemcenterpinpointmicrosoftcom

httpblogstechnetcomsystemcenter

httpakams682986pdf

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 103: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

103105 1116

httpazuremicrosoftcomen-usdocumentationarticlesautomation-create-runbook-from-samples

httpblogstechnetcombprivatecloudarchive20140312managing-windows-azure-with-smaaspx

httpblogstechnetcomborchestratorarchive20140311sma-capabilities-in-depth-the-sma-powershell-moduleaspx

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 104: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

104105 1116

httpblogstechnetcombkeithmayerarchive20140406step-by-step-getting-started-with-windows-azure-automationaspx

httpgallerytechnetmicrosoftcomscriptcentersitesearchf[0]Type=Userampf[0]Value=SC20Automation20Product20Teamampf[0]Text=SC20Automation20Product20Teamampf[1]Type=RootCategoryampf[1]Value=WindowsAzureampf[1]Text=Windows20Azure

105105 1116

Page 105: 整合 Microsoft Operations Management Suite …download.microsoft.com/download/5/9/E/59E3DFD2-ABD0-49B4...2015/11/25  · •Active Directory •Exchange Mail and Calendaring •Local

105105 1116