String - PowerShell
Ref: Everything you wanted to know about variable substitution in strings
Format string
<format> -f <value>[, ...]
$a = "Life"
$b = "great"
"{0} is {1}" -f $a, $b
"$a is $b"
"${a} is ${b}"
# Life is great
Filter string
<command> | Select-String "<pattern>"
Concatenate string
$a + ' ' + $b
"$a $b"
Command execution
"Date: $(Get-Date)"