mirror of
https://github.com/Thumbscrew/PSWinFW.git
synced 2025-01-18 01:25:48 +00:00
Updated psd1 with min PS Version. Added example to README.
This commit is contained in:
parent
125047cedd
commit
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
|
||||
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