Image for post
Image for post

Module Imported or Maybe Not…

For some reason Microsoft decided when it came to PowerShell to make a nice little gotcha for every new PS developer. When you finally get around to making your first PS module you are likely to perform this little dance more than a few times:

## Edit your .psm1 module…C:\> Import-Module ./mymodule.psm1C:\> Start-MyThingERROR YOU MADE A DUMB TYPO!## Edit your .psm1 module again to fix the small issue…C:\> Import-Module ./mymodule.psm1C:\> Start-MyThingERROR YOU MADE A DUMB TYPO!

Shameless Self-Promotion

If that seems like a silly thing to have to remember then be sure to checkout my UnsignedBytes Build Tools project that takes care of remembering stuff like this for you :)

Married, software-developing, backpacking, photographing, cooking, father of three. https://www.codecutting.com

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store