Skip to content

Instantly share code, notes, and snippets.

View danwagoner's full-sized avatar

Dan Wagoner danwagoner

View GitHub Profile
@danwagoner
danwagoner / Install-EvoV19
Last active April 22, 2019 14:05
[v19 steps] #evolution #v19 #ssm
# 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")
}
@danwagoner
danwagoner / ConvertTo-SSMDocument.ps1
Created January 17, 2019 18:02
[Convert PS Script to SSM Document] Automatically generates the document json from provided script and saves the document in the documents folder. #powershell #ssm #aws
# 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 = @"