Não é possível substituir a variável {0} porque ela foi otimizada. Tente usar o cmdlet New-Variable ou Set-Variable (sem ...