Debug / Step Through Script

Aug 16, 2011 at 8:16 PM

Hi Brian,

I love your script! I am making some custom actions, but I cannot figure out any way to step through the code. 

Can I ask how you do it?

Aug 17, 2011 at 3:12 PM

Remember that all the functions are run in AutoSPInstallerMain.ps1. So, you could either use PowerGUI or Visual Studio to step through that file; or you could put a pause after each function listed in that file. Hope that helps.

Aug 17, 2011 at 7:58 PM

Yah,
I didn't think it was going to be as simple as it is to change.  I do wish that white status was a variable so you could just flip it to another color.  HEHE