I created the below launch.ps1 script to launch filer specific scripts (each script only gets info from one controller) so that I can gather data from all my storage controllers at the same time and then write to individual log files for that storage controller.
My issue right now is that the scripts launch but then stalls (no output to my log file) when calling on the Connect-NaController cmdlet. From that point on nothing else is executed.
What can I do to debug this issue? Is thread safety an issue here?
Ok ... guys I could not get the above code to work (XP and W2K3) and did not have the time to figureout why. I did a work around by replicating my scripts for each of my storage controllers. I then used a batch file to kick them all off so they would run in their own. Not pretty but it works