PowerShellExecutionPolicy doesn't allow multiple 'CurrentUser' assignments #394
Labels
breaking change
When used on an issue, the issue has been determined to be a breaking change.
enhancement
The issue is an enhancement request.
help wanted
The issue is up for grabs for anyone in the community.
Problem description
Powershell 5.1 DSC doesn't allow you to specify the same ExecutionPolicy for ExecutionPolicyScope 'CurrentUser' but different PsRunAsCredentials, meaning you can't assign it to multiple specific users.
Verbose logs
DSC configuration
Suggested solution
Add
PowerShellUserExecutionPolicy
which doesn't take scope and requires a credential.Operating system the target node is running
PowerShell version and build the target node is running
ComputerManagementDsc version
The text was updated successfully, but these errors were encountered: