I seem to be missing some options in the advanced page for the "Run
Script" action.

According to the help I should be able to run as the user and grant
administrator privilege but I am missing that and the display mode options.




I am trying run some power shell commands to strip out unwanted Windosws
10 applications but they need to be run as the user with admin rights to
work.

examples:
Get-AppxPackage *xboxapp* | Remove-AppxPackage
Get-AppxPackage *officehub* | Remove-AppxPackage

What I see:
Executable security level
Run as logged in user
Run as secure system user (Don't allow system to interact with desktop)
Run as dynamic administrator

Text from the Help:
Executable Security Level: Specify how you want to run the script. You
can select one of the following:

Run as logged in user: The MSI application inherits the logged-in user’s
credentials. For example, the application has the same rights to the
registry and the file system as the logged-in user.

Select the application’s display mode: Normal, Minimized, Maximized, or
Hidden. In Hidden mode, the application runs normally without a user
interface available. This is useful if you want the application to
process something, then go away without user intervention.

Select Grant administrator privilege to user during installation to
provide administrator privileges to the logged-in user. Providing
administrator privileges to a user might pose security risks.

Jim Koerner
Server - ZCM 2017 Appliance
Clients - ZCM 17.0.0.1252 on Win10/1607x64