|
Issue: getting/setting variable content using Get/Set-Content I was playing with getting/setting variable content using Get/Set-Content and
variable provider and found this:
$x = 'Hi'
gc variable:\x
Hi
sc variable:\x -Value 'Hello'
gc variable:\x
Hello
sc variable:\x -Value (gc variable:\x)
gc variable:\x
Get-Content : The member "PSPath" is already present.
At line:1 char:3
+ gc <<<< variable:\x
What happens?
--
Thanks,
Roman |