Question about DeployMode in 4.1

Hi,

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.

Thanks for your time and attention.

The best place to request new features and report bugs is on PSADT's Github:
Issues · PSAppDeployToolkit/PSAppDeployToolkit

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.

My apologies. I only read you post halfway.

I would look at $ADTSession.DeployMode

1 Like

You 100% put me on the right track and I appreciate it. Thanks for not being that annoying guy! :stuck_out_tongue:

3 Likes