mirror of
https://github.com/Thumbscrew/PSWinFW.git
synced 2025-01-18 17:45:47 +00:00
Merge pull request #9 from Thumbscrew/logprofile-switch-fix
Fixed 'auto' parameter set.
This commit is contained in:
commit
ee4da3100f
@ -16,9 +16,9 @@ function Get-PSFirewallLog {
|
||||
[string]
|
||||
$LogFileName,
|
||||
|
||||
# Retrieve a profile's log using registry settings of the local machine
|
||||
# Retrieve a profile's log using registry settings of the local or remote machine
|
||||
[Parameter(Mandatory = $true, ParameterSetName = 'auto')]
|
||||
[Parameter(ParameterSetName = 'remote')]
|
||||
[Parameter(Mandatory = $true, ParameterSetName = 'remote')]
|
||||
[ValidateSet('Public','Private','Domain')]
|
||||
[string]
|
||||
$LogProfile,
|
||||
@ -29,7 +29,7 @@ function Get-PSFirewallLog {
|
||||
$Tail = 0,
|
||||
|
||||
# ComputerName to retrieve log from
|
||||
[Parameter(Mandatory = $false, ParameterSetName = 'remote')]
|
||||
[Parameter(Mandatory = $true, ParameterSetName = 'remote')]
|
||||
[string]
|
||||
$ComputerName
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user