I write a lot of little PowerShell Modules that I am constantly tinkering with. This forces me to reload those modules in my console windows constantly. For each module it’s three commands:
Remove-Module -Name RestPS Update-Module -Name RestPS Import-Module -Name RestPS
It’s Annoying!
So here is a simple function to take care of those commands with a single command!
Reset-Module -Name RestPS
The Function is available in the ‘jpsider’ module on the PowerShell Gallery.
If you have any issues, report them on GitHub.
Enjoy!