Reset-Module ~ Something that’s been missing for a while.

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!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s