Module and script collection for PowerShell to administrate Brocade ICX switches over SSH.
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.
- Download the latest version of the module and all scripts from GitHub (latest release)
- Copy the folder
Module\BrocadeICX
in your profile underC:\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)
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 | π |
- Copy the folder
Scripts
to any location you want.
Script | Description | Help |
---|
- PowerShell 4.0
- Posh-SSH by darkoperator to establish an SSH connection (latest release).
- ICX6430-24/48
- FastIron WS 624/48