Updated psd1 with min PS Version. Added example to README.

This commit is contained in:
James 2020-01-30 14:21:01 +00:00
parent 125047cedd
commit 9a1eeefca9
2 changed files with 4 additions and 0 deletions

Binary file not shown.

View File

@ -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