mirror of
https://github.com/Thumbscrew/PSWinFW.git
synced 2025-04-12 02:03:42 +00:00
Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
9a1eeefca9 |
BIN
PSWinFW.psd1
BIN
PSWinFW.psd1
Binary file not shown.
@ -27,6 +27,10 @@ Get Windows Firewall log on a remote computer using the Remote Registry service
|
|||||||
```powershell
|
```powershell
|
||||||
Get-PSFirewallLog -LogProfile Public -ComputerName MyRemoteComputer -Verbose
|
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:
|
Get the last 100 events from the Private profile firewall log and follow the log:
|
||||||
```powershell
|
```powershell
|
||||||
Get-PSFirewallLog -LogProfile Private -Tail 100 -Wait
|
Get-PSFirewallLog -LogProfile Private -Tail 100 -Wait
|
||||||
|
Loading…
Reference in New Issue
Block a user