Readme.txt
To publish the module - let's say you have the module installed here D:\UserData\z0012stm\Documents\WindowsPowerShell\Modules\CmxModule\1.8 which is the official powershell installation folder for the current user. And you have some changes done to it, so you want to publish the next version "1.9". - increment the Version in the psd1 file to "1.9" - rename the parent folder of this readme file to "1.9" - run the "publish.ps1" script. The module is now published to the gallery (which was registered via Register-Repository). The module can be found at the gallery as a nuget package. - now rename the parent folder of this readme file to "old" - then call the "install.ps1" file - the module is installed from the gallery - you should see the a folder "1.9" next to the "old" folder which has the new version. This folder contains the new module. What must be done on the consumer side - |