Skip to content

make __PSLockdownpolicy only work in debug build #26720

@TravisEz13

Description

@TravisEz13

Summary of the new feature / enhancement

make __PSLockdownpolicy only work in debug build.

This is only for testing and should not be used in production.

Proposed technical implementation details (optional)

make __PSLockdownpolicy only work in debug build.

This is only for testing and should not be used in production.

Also emit a warning that this is __PSLockdownpolicy is a test hook not meant for production when the feature is enabled.

Metadata

Metadata

Labels

Issue-Enhancementthe issue is more of a feature request than a bugNeeds-TriageThe issue is new and needs to be triaged by a work group.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions