The GoTo Community is currently experiencing some technical issues affecting new posts and comments. You may need to reload the page you are on before you can post a comment. We are actively working with our service provider and apologize for the frustration.
Forum Discussion
hileman249
7 years agoVisitor
Windows Environmental Variables not working via One2Many in Powershell or Batch Files
Hi, I cannot get any windows environmental variables to work in powershell or batch files, such as %useranme% etc. I am trying to run this simple powershell script. It works when I run it directly ...
AshC
7 years agoRetired GoTo Contributor
Hi hileman249,
I'm uncertain why the script would work locally but not through one-to-many. You might try one of these two options to work around the problem though:
-
Add a Local Account or Microsoft Account in Command Prompt
-
Or change User's Account Type to Guest