mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-05-16 23:37:22 +00:00
Made one correction and place policy file declaration in proper location.
This commit is contained in:
parent
79374e0892
commit
26ecad46c2
@ -280,15 +280,15 @@ Once you've completed configuring your chosen Managed Installer, by specifying w
|
|||||||
|
|
||||||
1. Using the following command to deploy the policy.
|
1. Using the following command to deploy the policy.
|
||||||
```powershell
|
```powershell
|
||||||
|
$policyFile=
|
||||||
|
@"
|
||||||
|
Raw_AppLocker_Policy_XML
|
||||||
|
"@
|
||||||
Set-AppLockerPolicy -XmlPolicy $policyFile -Merge -ErrorAction SilentlyContinue
|
Set-AppLockerPolicy -XmlPolicy $policyFile -Merge -ErrorAction SilentlyContinue
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Verify Deployment of the Rule set was successful
|
2. Verify Deployment of the Rule set was successful
|
||||||
```powershell
|
```powershell
|
||||||
$policyFile=
|
|
||||||
@"
|
|
||||||
Raw_AppLocker_Policy_XML
|
|
||||||
"@
|
|
||||||
Get-AppLockerPolicy -Local
|
Get-AppLockerPolicy -Local
|
||||||
|
|
||||||
Version RuleCollections RuleCollectionTypes
|
Version RuleCollections RuleCollectionTypes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user