I am looking to code around something in 4.1. I've posted in other forums and added some a few feature requests that would help "future me". But, "today me" needs to be able to do some things based on which DeployMode that I am in. What I don't know is how to get the existing DeployMode so I can build an If/else statement based on it.
I am not asking for a feature or reporting a bug. This is more of a how to. I know that the information is there and is available because it is being logged. I just don't know how to retrieve it and am asking that someone with more PSADT knowledge than I chime in and help.