mirror of
https://github.com/Thumbscrew/PSWinFW.git
synced 2025-01-18 09:35:47 +00:00
commit
6f7c9dde2d
BIN
PSWinFW.psd1
BIN
PSWinFW.psd1
Binary file not shown.
@ -26,4 +26,12 @@ Get-PSFirewallLog -LogProfile Domain
|
||||
Get Windows Firewall log on a remote computer using the Remote Registry service to get the log path:
|
||||
```powershell
|
||||
Get-PSFirewallLog -LogProfile Public -ComputerName MyRemoteComputer -Verbose
|
||||
```
|
||||
Get the last 100 events from the Domain profile of a remote machine, inferring the path using the local machine's path (doesn't use Remote Registry service):
|
||||
```powershell
|
||||
Get-PSFirewallLog -LogProfile Domain -ComputerName MyRemoteComputer -InferPath -Tail 100
|
||||
```
|
||||
Get the last 100 events from the Private profile firewall log and follow the log:
|
||||
```powershell
|
||||
Get-PSFirewallLog -LogProfile Private -Tail 100 -Wait
|
||||
```
|
Loading…
Reference in New Issue
Block a user