Forums on Intune, SCCM, and Windows 11

Welcome to the forums. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your topics and posts, as well as connect with other members through your own private inbox!

PENDING access level permissions when running a powershell script as package

  • Thread starter Thread starter ulfr76
  • Start date Start date
  • Replies Replies 1
  • Views Views 2K

ulfr76

New Member
Messages
1
Reaction score
0
Points
1
I have a powershell script that when run locally (with admin rights) or as script deployed through the sccm console runs successfully, however, when I run the same script as a package with the command 'C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe" –ExecutionPolicy Bypass -Command .\BroadbandInformation.ps1' with admin rights it fails. I have checked as when I run a package with admin rights calling whoami it replies with
nt authority\system...

any ideas?
 
Back
Top