Skip to content

Instantly share code, notes, and snippets.

@teer823
Created June 12, 2020 00:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save teer823/18756b4ecb69a834243796be8608f76a to your computer and use it in GitHub Desktop.
Save teer823/18756b4ecb69a834243796be8608f76a to your computer and use it in GitHub Desktop.
EBExtension for Update Windows Config
###################################################################################################
#### 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