My script get a String value from another process like this :
PS C:\Users\Roger> echo $path
${env:LOCALAPPDATA}\Google
But
PS C:\Users\Roger> echo "${env:LOCALAPPDATA}"
C:\Users\Roger\AppData\Local\Google
Is there a Powershell function I can apply to my variable path to get the environment variable correctly ?