diff --git a/PSWinFW.psd1 b/PSWinFW.psd1 index df06a58..c2aa41a 100644 Binary files a/PSWinFW.psd1 and b/PSWinFW.psd1 differ diff --git a/README.md b/README.md index 37b1fa2..2cf5c98 100644 --- a/README.md +++ b/README.md @@ -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 ``` \ No newline at end of file