2 Replies Latest reply on Mar 8, 2017 7:26 AM by BGCBates

    Run Distribution Package Elevated


      I am curious if there is a way to run a distribution package elevated?


      I am trying to use powershell to unjoin a PC from our domain uising the cmdlet "remove-computer."  That cmdlet requires it to be run from an elevated powershell prompt regardless of whether the user running it is an administrator.  Then it requires credentials through PSCredential to execute.


      I have tried self elevating powershell scripts and they still bring up a UAC prompt.  I am not interested in disabling UAC at this time.