Skip to content

Instantly share code, notes, and snippets.

@gwblok
gwblok / RunScripts-TriggerBaseline.ps1
Last active October 7, 2021 10:10
This will trigger the Configuration Baseline based on a parameter.
#For using in "Run Script" Node. Has Exit At end... will exit your ISE if you run in ISE. :-)
#Adopted from another script, so it has some Write-Hosts that don't really make sense in a CI, deal with it.
[CmdletBinding()]
Param (
[Parameter(Mandatory=$true)]
$BaselineName="WaaS Pre-Assessment"
)