Created
November 7, 2017 12:41
-
-
Save ShekharReddy4/ecc5e627eb9ed3fd97ec78590b69c641 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$runPSCommand7=Send-SSMCommand -InstanceId $InstanceID -DocumentName AWS-RunPowerShellScript -Comment 'command in execution1' -Parameter @{'commands'=@('$WUSettings = (New-Object -com "Microsoft.Update.AutoUpdate").Settings | |
$WUSettings.NotificationLevel=2 | |
$WUSettings.save')} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment