Using function i'm getting output like this:
User
----
Domain\Username
But when I'm trying to replace the "Domain\" in output
$f -replace 'Domain\\'
I'm getting this:
@{User=Username}
I'm using bad function or is something else is going wrong?
$f.User=$f.User -replace 'Domain\\';$f