Fixed 'auto' parameter set.

This commit is contained in:
James 2019-11-09 14:38:30 +00:00
parent 01b2afb1d9
commit 1b6836def0
1 changed files with 3 additions and 3 deletions

View File

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