Skip to main content

Module mode_validation

Module mode_validation 

Source
Expand description

PowerShell permission mode validation.

Checks if commands should be auto-allowed based on the current permission mode. In acceptEdits mode, filesystem-modifying PowerShell cmdlets are auto-allowed.

Structs§

PermissionModeResult
Permission result

Enums§

PermissionBehavior
Permission result behavior

Functions§

check_permission_mode
Checks if commands should be handled differently based on the current permission mode
is_symlink_creating_command
Detects New-Item creating a filesystem link