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 年前325 查看次数
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 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则