PS C:\> $varName = 'txt' PS C:\> $txt= 'Hello world' PS C:\> $ExecutionContext.InvokeCommand.ExpandString("varName = $varName, value = `$$varName") varName = txt, value = Hello world
System.Management.Automation.CommandInvocationIntrinsics
Index