I\'m using PowerShell scripts for some UI automation of a WPF application. Normally, the scripts are run as a group, based on the value of a global variable. It\'s a littl
Simple: [boolean](get-variable "Varname" -ErrorAction SilentlyContinue)