A blog about interesting stuff that I want to remember, but am too lazy to write down.
Tuesday, 23 September 2014
PowerShell: How do I remove a module by force?
I recently added a module to my PowerShell version and things (to put it mildly) did not go well.
I tried using
but that also failed. I ended by bypassing tact and using a sledgehammer.
I navigated to My Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1
and removed the module entry manually.
Share to Twitter
Share to Facebook
Share to Pinterest
Post a comment
Post Comments (Atom)