mirror of
https://github.com/benclaussen/NetboxPS.git
synced 2025-12-15 18:55:46 +00:00
parent
6b8caf0bd7
commit
1fed2d27e6
1 changed files with 29 additions and 33 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
function Get-NetboxIPAMVLAN {
|
function Get-NetboxIPAMVLAN {
|
||||||
[CmdletBinding()]
|
[CmdletBinding(DefaultParameterSetName = 'Query')]
|
||||||
param
|
param
|
||||||
(
|
(
|
||||||
[Parameter(ParameterSetName = 'Query',
|
[Parameter(ParameterSetName = 'Query',
|
||||||
|
|
@ -62,10 +62,6 @@ function Get-NetboxIPAMVLAN {
|
||||||
[switch]$Raw
|
[switch]$Raw
|
||||||
)
|
)
|
||||||
|
|
||||||
# if ($null -ne $Status) {
|
|
||||||
# $PSBoundParameters.Status = ValidateIPAMChoice -ProvidedValue $Status -VLANStatus
|
|
||||||
# }
|
|
||||||
|
|
||||||
switch ($PSCmdlet.ParameterSetName) {
|
switch ($PSCmdlet.ParameterSetName) {
|
||||||
'ById' {
|
'ById' {
|
||||||
foreach ($VLAN_ID in $Id) {
|
foreach ($VLAN_ID in $Id) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue