mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-05-14 22:37:22 +00:00
Fixed scripting issue
Merge-CIPolicy command had a mistype causing the line to fail
This commit is contained in:
parent
ba8f42467c
commit
ebb61c7605
@ -117,7 +117,7 @@ Alice follows these steps to complete this task:
|
|||||||
$PathRules += New-CIPolicyRule -FilePathRule "%windir%\*"
|
$PathRules += New-CIPolicyRule -FilePathRule "%windir%\*"
|
||||||
$PathRules += New-CIPolicyRule -FilePathRule "%OSDrive%\Program Files\*"
|
$PathRules += New-CIPolicyRule -FilePathRule "%OSDrive%\Program Files\*"
|
||||||
$PathRules += New-CIPolicyRule -FilePathRule "%OSDrive%\Program Files (x86)\*"
|
$PathRules += New-CIPolicyRule -FilePathRule "%OSDrive%\Program Files (x86)\*"
|
||||||
Merge-CIPolicy -OutputFilePath = $LamnaPolicy -PolicyPaths $LamnaPolicy -Rules $PathRules
|
Merge-CIPolicy -OutputFilePath $LamnaPolicy -PolicyPaths $LamnaPolicy -Rules $PathRules
|
||||||
```
|
```
|
||||||
|
|
||||||
7. If appropriate, add additional signer or file rules to further customize the policy for your organization.
|
7. If appropriate, add additional signer or file rules to further customize the policy for your organization.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user