Execution Policy Scope

The following are the valid values for the execution policy scope:

  • MachinePolicy
  • UserPolicy
  • Process
  • CurrentUser
  • LocalMachine

MachinePolicy

This scope sets by the group policy for all the computer users.

UserPolicy

This scope sets by the Group policy for the current user of a computer.

Process

This scope only affects the current session of PowerShell.

CurrentUser

In this scope, the execution policy affects only the current scope.

LocalMachine

In this scope, the execution policy affects all the users on the current computer.


Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *