Enable MdeMachineCodeExecutionRestriction - Visorian/PSMDE GitHub Wiki


external help file: PSMDE-help.xml Module Name: PSMDE online version: https://learn.microsoft.com/en-us/microsoft-365/security/defender-endpoint/restrict-code-execution?view=o365-worldwide schema: 2.0.0

Enable-MdeMachineCodeExecutionRestriction

SYNOPSIS

Restrict execution of all applications on the device except a predefined set.

SYNTAX

Enable-MdeMachineCodeExecutionRestriction [-id] <String> [-comment] <String> [<CommonParameters>]

DESCRIPTION

Restrict execution of all applications on the device except a predefined set.

EXAMPLES

EXAMPLE 1

" -comment "Your comment"

PARAMETERS

-id

Optional. Specifies the id of the target MDE recommendation.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

-comment

{{ Fill comment Description }}

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

Author: Jan-Henrik Damaschke

RELATED LINKS

https://learn.microsoft.com/en-us/microsoft-365/security/defender-endpoint/restrict-code-execution?view=o365-worldwide

⚠️ **GitHub.com Fallback** ⚠️