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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ