[lang-ref] 文字列中の数式補完 ( powershell )

It 'should perform string interpolation with expression' {
    # "$(...)"
    $age = 20

    $s = "I am $($age - 2) years old."
    $s | Should -Be 'I am 18 years old.'
}