< Back
Set-AppLockerPolicyEnforcementMode
Post
NAME Set-AppLockerPolicyEnforcementMode
SYNOPSIS
Sets the AppLocker policy document rule enforcement mode on the specified collection(s).
SYNTAX
Set-AppLockerPolicyEnforcementMode [-AppLockerPolicyDocument] <XmlDocument> [-EnforcementMode] <String>
[[-Collection] <String[]>] [<CommonParameters>]
DESCRIPTION
PARAMETERS
-AppLockerPolicyDocument <XmlDocument>
AppLocker XmlDocument to prepend the comment to.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-EnforcementMode <String>
Required? true
Position? 2
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Collection <String[]>
Required? false
Position? 3
Default value @('Appx','Dll','Exe','Msi','Script')
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
RELATED LINKS
SYNOPSIS
Sets the AppLocker policy document rule enforcement mode on the specified collection(s).
SYNTAX
Set-AppLockerPolicyEnforcementMode [-AppLockerPolicyDocument] <XmlDocument> [-EnforcementMode] <String>
[[-Collection] <String[]>] [<CommonParameters>]
DESCRIPTION
PARAMETERS
-AppLockerPolicyDocument <XmlDocument>
AppLocker XmlDocument to prepend the comment to.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-EnforcementMode <String>
Required? true
Position? 2
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Collection <String[]>
Required? false
Position? 3
Default value @('Appx','Dll','Exe','Msi','Script')
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
RELATED LINKS