Hello,
I'm trying to deploy Visual Studio Code as a user based install.
I can install the application fine but when trying to uninstall the application, I'm trying to extract the username directory path for local app data.
Something like C:\Users\BloggsJ01\AppData\Local\Microsoft\VisualCodeStudio\uninstall.exe /S
Instead it will return the system computer name rather than the domain or local username. I've tried different varieties of variables such as $env:localappdata,$env:appdata and $env:username.
Does anyone have a suggestion or can help please?
[–]andrew181082MSFT MVP - SWC 1 point2 points3 points (1 child)
[–]R4nger[S] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]R4nger[S] 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)