/PowerShell_BrocadeICX

Administrate Brocade ICX switches over SSH with PowerShell

Primary LanguagePowerShellGNU General Public License v3.0GPL-3.0

PowerShell | BrocadeICX

Module and script collection for PowerShell to administrate Brocade ICX switches over SSH.

Description

This module and collection of usefull scripts, allows you to administrate your Brocade ICX switches over SSH-Protocol with the Windows PowerShell.

With the "BrocadeICX" module you can establish a connection via SSH to one ore more Brocade ICX switch devices and executing commands without receiving the following error message: ☺Protocol error, doesn't start with scp!

You can write tasks like backup the configuration to a TFTP server or get and set VLANs on an interface.

Module

How to install the module?

  • Download the latest version of the module and all scripts from GitHub (latest release)
  • Copy the folder Module\BrocadeICX in your profile under C:\Users\%username%\Documents\WindowsPowerShell\Modules
  • Open up a PowerShell as an admin and set the execution policy: Set-ExecutionPolicy RemoteSigned
  • Import the "BrocadeICX"-Module with the command Import-Module BrocadeICX (Maybe add this command to your PowerShell profile)

Available functions:

Folder: Core

Function Description Help
Get-ICXSession Get a Brocade ICX session πŸ“–
Invoke-ICXCommand Invoke an SSH command in a Brocade ICX sessions πŸ“–
New-ICXSession Create a new Brocade ICX sessions over SSH πŸ“–
Remove-ICXSession Remove a Brocade ICX session πŸ“–
Test-ICXSession Test if a session is a valid Brocade ICX session πŸ“–

Folder: Interface

Function Description Help
Get-ICXInterface Get interface(s) from a Brocade ICX switch πŸ“–

Folder: VLAN

Function Description Help
Get-ICXVLAN Get VLAN from a Brocade ICX switch πŸ“–
Test-ICXVLAN Test if a VLAN exist on a Brocade ICX switch πŸ“–

Scripts

How to install the scripts?

  • Copy the folder Scripts to any location you want.

Available scripts:

Script Description Help

Requirements

Supported devices (others may also work)

  • ICX6430-24/48
  • FastIron WS 624/48