mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-05-12 13:27:23 +00:00
Update windows/security/operating-system-security/network-security/windows-firewall/configure-the-windows-firewall-log.md
Co-authored-by: Paolo Matarazzo <74918781+paolomatarazzo@users.noreply.github.com>
This commit is contained in:
parent
164539542f
commit
b578e93cee
@ -53,7 +53,7 @@ New-Item -ItemType Directory -Path $env:windir\System32\LogFiles\Firewall
|
||||
Verify if MpsSvc has *FullControl* on the folder and the files.
|
||||
From an elevated PowerShell session, use the following commands, ensuring to use the correct path:
|
||||
|
||||
```
|
||||
```PowerShell
|
||||
$LogPath = Join-Path -path $env:windir -ChildPath "System32\LogFiles\Firewall"
|
||||
(Get-ACL -Path $LogPath).Access | Format-Table IdentityReference,FileSystemRights,AccessControlType,IsInherited,InheritanceFlags -AutoSize
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user