I wrote a Start-Script to measure the size of the local usersprofiles via GPO [Computerkonfiguration>Richtlinien>Administrative Vorlagen>Windows Komponenten/Windows Powershell]from the system-User which works fine!
how do i bypass my already elevated script(as it is a system-User) to the Start-job script without Credential-information inside the script.
Your start-job should inherit the permissions from the parent script calling start-job. Just don't specify the credential parameter when calling start-job. Also make sure your parent script isn't waiting for the job to finish otherwise your users will see the delay.
You must be logged in to reply to this topic.