Getting Active Brocade Fiber Switch Aliases via PowerShell
A while back, I posted a quick script to create commands for 1:1 Zoning on a Brocade Fiber Switch . I was recently helping someone go through that exact process on a set of switches that had a lot of aliases already defined on them. Their challenge was that they weren't sure which aliases were for their current SAN vs. a retired SAN. Rather than just creating zones for both SANs, I decided to put together a quick script that would scrape their current Aliases and check which ones have active WWNs currently in the system. They could then use this information to prune the Aliases that are no longer needed, in addition to only creating the required zones for our project. In order to do this task, I had to do some quick string parsing into PowerShell objects . Good thing I already know how to do that ;) So, I put together this script which does two things: 1) It parses the Brocade Fiber Switch's configuration to look for any Aliases 2) It checks...