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 Remove-Module 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.
I tried using Remove-Module 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.
Comments
Post a Comment