Created
June 12, 2020 00:38
-
-
Save teer823/18756b4ecb69a834243796be8608f76a to your computer and use it in GitHub Desktop.
EBExtension for Update Windows Config
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
################################################################################################### | |
#### This configuration file runs a PowerShell script that modifies the Windows timezone | |
#### | |
#### Original Author: @kylegalbraith | |
#### https://github.com/awsdocs/elastic-beanstalk-samples/blob/master/configuration-files/community-provided/instance-configuration/enable-windowsupdate-dotnet.config | |
#### Modifier: @teer823 | |
################################################################################################### | |
files: | |
"c:/temp/configureTimezone.ps1": | |
content: | | |
Invoke-Expression "tzutil /s 'SE Asia Standard Time'" | |
container_commands: | |
01-execute-config-scirpt: | |
command: Powershell.exe -ExecutionPolicy Bypass -File c:\\temp\\configureTimezone.ps1 | |
ignoreErrors: true | |
waitAfterCompletion: 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment