I would like to insert environment variable %username%
in this powershell script:
$o = new-object -com shell.application
$o.Namespace('\\xx.local\Employee Personal Folders\Employee\%username%\Scan Folder').Self.InvokeVerb("pintohome")
How can I go about that?
Cheers in advance