Fixes
This commit is contained in:
@@ -18,8 +18,8 @@ function Get-Section {
|
||||
Type = [PS.IPAM.types]::Section
|
||||
}
|
||||
switch ($PSCmdlet.ParameterSetName) {
|
||||
"ByID" { $_identifiers = @($Id) }
|
||||
"ByName" { $_identifiers = @($Name) }
|
||||
"ByID" { $_identifiers = @($Id); break }
|
||||
"ByName" { $_identifiers = @($Name); break }
|
||||
}
|
||||
$_params.Add("Identifiers",$_identifiers)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user