PowerShell script to Start and Stop of SAP Services and Ec2 instance running on windows platform using SSM

0

To start and stop the SAP services (App , SCS, HANA DB etc. ) on widows platform do have any PowerShell Script to automate the Start and Stop operation of SAP services and ec2 Instance using SSM.

已提問 2 年前檢視次數 331 次
1 個回答
0

Select **Documents **from the SSM Nav bar. Search for AWS-RunPowerShellScript. Follow the hyperlink that is its name. Click the Run Command button. This brings you to a dialog where you can input PowerShell. Something like "Stop-Service -Name "SAP_ServiceName" on a separate line for each on you want to stop (Start-Service -Name "SAP_ServiceName" to start). In targets section **choose instances manually **brings up a data table to select from your EC2 instances to run it on. You can disable s3 output or select a bucket to drop stderr and stdout to. Then click Run.

已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南