In Bash, I can do something like:
${VAR1:-default}
...which means if VAR1 doesn't exist, return "default".
There are lots of these types of operators:
There seem to be numerous examples using Get-Variable
but nothing particularly succinct. Is there an equivalent in Powershell that I'm missing?