Test if a VLAN exist on a Brocade ICX Switch.
Test if a VLAN exist on a Brocade ICX Switch.
Get-ICXVLAN [-ComputerName] <String[]> [[-AcceptKey]] [[-Credential] <PSCredential>] [<CommonParameters>]
Get-ICXVLAN [-Session] <PSObject[]> [<CommonParameters>]
PS> Test-ICXVLAN -ComputerName megatron -VlanId 1
true
PS> $Cred = Get-Credential $null
PS> Test-ICXVLAN -ComputerName megatron -VlanId 2 -Credential $Cred
false