I'm looking for an easy way to integrate cluster mode scripts and 7-mode scripts into one powershell script. My goal is to make it as easy as possible on some of our operations support. If I can combine the scripts so that the script determines what the mode is, and runs the proper scripts.
For Example, the user running the script gets prompted for the filername. The script then goes out an determines the version of that filer, and then either gets more information from the user based on that information, or runs the proper script for cluster/7-mode.
I hope I explained what I am looking for well. I would like to see out other people are dealing with this problem, or if they are just living with separate scripts for everything.
-Corey