diff --git a/PSWinFW.psd1 b/PSWinFW.psd1 index 408cda4..c2aa41a 100644 Binary files a/PSWinFW.psd1 and b/PSWinFW.psd1 differ diff --git a/README.md b/README.md index 34120cd..2cf5c98 100644 --- a/README.md +++ b/README.md @@ -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