I updated my module and instructed my team on how to install the update (I use a network DFS share as my repo), but I want a more aggressive method of updating their modules. I would like to get your thoughts on how you do this in your environment.
My thoughts are:
Add an update Function to the PSM1 that outputs a message to the screen each time the module loads. At least they will be aware of the update and then can update themselves, however, if they don’t reload the module they might not notice the message.
Add an update Function to the Begin and possibly the End blocks of each Public function that outputs a “need to update” message. The users will see the nag message everytime they run a function.
Add a function to the Begin block to Return if it is not the latest version. This would force them to update or they don’t get to use the function. I’m not sure how I feel about this one, but it would be the most aggressive.
Instruct the team to set up a Profile with a function to check the version, but I don’t like this method as I would have to figure out a way to make them use a profile and support it as well as the module.
Thank you for your thoughts!