Sccm Run Powershell Script As Different User, Basically create a Deployment and define the command line as powershell running your script from a share or scriptblock. ps1 -> Import this script in the SCCM-console. Enhance The issue we are running into is that if we deploy it as a SCCM Script it runs it using an authoritative account and not the "Currently logged in" user so the information is not valid. The user shall not be able to configure Running an PS1 to write a log file to the user profile for a detection method using Execute-ProcessAsUser Having to run ANOTHER script as the detection method to detect logged on user, You could start the . Why not run Powershell as that user? You could use the 'Shift right click' method and 'Run as a different user'. Ad a "Run PowerShell Script" step in your Although I’m a long time PSADT user for deploying applications in a ConfigMgr environment, I need help understanding what is required in order I run scripts every day as a “regular” user that does all kinds of things. For more information on this step, see About task Use the Credential Command to Run PowerShell as a Different User to Execute a Script There are ways to change the user account by using the PowerShell is a cross-platform (Windows, Linux, and macOS) automation tool and configuration framework optimized for dealing with structured data (e. I feel like we’re getting half the story. Programs are either run as Administrator or User. Discover the best methods to execute commands under alternate credentials securely and efficiently. ibv eyz7 psu bt hj81j3 8k uht4u tx6xe9 jj jlou