This file contains hidden or 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
# Run SSM Document that installs v19 DM/MC | |
$Params = @{"bureau" = "fullsend", "profile" = "dwagoner-dev"} | |
$Params | %{ | |
Send-SSMCommand -ProfileName $profile -Region us-east-1 -DocumentName "arn:aws:ssm:us-east-1:357057607743:document/EvoCloud-InstallEvoManagementServices" -Targets @(@{key='tag:Bureau'; values=@("$($bureau)")}) -Parameter @{"version"=@("19") | |
} |
This file contains hidden or 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
# Automatically generates the document json from provided script and saves the document in the documents folder. | |
param ( | |
[Parameter(Mandatory=$True)] | |
[string]$ScriptPath, | |
[Parameter(Mandatory=$True)] | |
[string]$Description | |
) | |
$Prefix = @" |