I have a Powershell Script which install and updates Software via the Windows Package Manager Chocolatey.
If I execute my PS-Script as a user, everything is fine. So there has to be another issue like an restricting Execution Policy (this is set to unrestricted via GPO).
How do I get the Output of the Powershell? I am using Start-Transcript but I cannot find the output file anywhere and if I specify the path it doesn't create the log file...
The Powershell-Script executes during startup as machine GPO.
Are there other options to debug, I havent thought of?