Merge pull request #9 from Thumbscrew/logprofile-switch-fix

Fixed 'auto' parameter set.
This commit is contained in:
James 2019-11-09 14:39:55 +00:00 committed by GitHub
commit ee4da3100f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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
)