
I've been tasked with heading up a storage migration where I am currently employed.
We have both 7-Mode and CDOT systems here (NetApp), and I wanted a way to run different functions with varying options based on each OS.
To do this I created a couple variables up front:
$accountRun and $NetAppControllers.
$accountRun simply gets the account name you're running PowerShell as.
$netAppControllers is an array of your controllers.
Notice how controller2 has -c after it. This is used in the below code to delineate between 7-Mode and CDOT controllers.
Let me know what you think, xor you have any ideas!
No comments yet. Be the first!