mirror of
https://github.com/Thumbscrew/PSWinFW.git
synced 2025-01-18 17:45:47 +00:00
Fixed 'auto' parameter set.
This commit is contained in:
parent
01b2afb1d9
commit
1b6836def0
@ -16,9 +16,9 @@ function Get-PSFirewallLog {
|
|||||||
[string]
|
[string]
|
||||||
$LogFileName,
|
$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(Mandatory = $true, ParameterSetName = 'auto')]
|
||||||
[Parameter(ParameterSetName = 'remote')]
|
[Parameter(Mandatory = $true, ParameterSetName = 'remote')]
|
||||||
[ValidateSet('Public','Private','Domain')]
|
[ValidateSet('Public','Private','Domain')]
|
||||||
[string]
|
[string]
|
||||||
$LogProfile,
|
$LogProfile,
|
||||||
@ -29,7 +29,7 @@ function Get-PSFirewallLog {
|
|||||||
$Tail = 0,
|
$Tail = 0,
|
||||||
|
|
||||||
# ComputerName to retrieve log from
|
# ComputerName to retrieve log from
|
||||||
[Parameter(Mandatory = $false, ParameterSetName = 'remote')]
|
[Parameter(Mandatory = $true, ParameterSetName = 'remote')]
|
||||||
[string]
|
[string]
|
||||||
$ComputerName
|
$ComputerName
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user