Forum Discussion
Schulzi
Sep 28, 2020Brass Contributor
$env:Username Different Outputs
Hello, I have a little Question/Problem using Powershell... I got 2 Different PC running Windows-Powershell as Admin (both with same Domain-Account (example: cat40050)) BUT i get 2 Different...
Schulzi
Nov 04, 2020Brass Contributor
Quick Update what I want to do:
Launching Powershell as an Admin but still stay in the Current User (T4....-User) and not as the Admin User (cat....)
The "T-Users" dont have Admin-privileges the "Cat-Users" have...
BUT in need to stay logged on as the "T-User" in the new PS-Session/Windows that my script will work properly to edit all information in the "T-User-Profile".
Greetings
Yannik Schulz