# Remove-Module / Import-Module issue.

**URL:** <https://forums.powershell.org/t/remove-module-import-module-issue/8947>\
**Category:** PowerShell Help\
**Created:** [July 3, 2017, 8:52am UTC](https://forums.powershell.org/t/remove-module-import-module-issue/8947 "2017-07-03T08:52:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nj-dude](https://avatars.discourse-cdn.com/v4/letter/n/ecae2f/32.png) [@nj-dude](https://forums.powershell.org/u/nj-dude)\
**Post date:** [July 3, 2017, 8:52am UTC](https://forums.powershell.org/t/remove-module-import-module-issue/8947/1 "2017-07-03T08:52:33Z")

</div>

I have a module and I made a modification, I changed the name of one of its functions, however, I cannot get the new name to show unless I type Import-Module, but, when I close the PS console and re-open it the old name STILL shows up.

Typing Remove-Module I get this error:

```
remove-module : No modules were removed. Verify that the specification of modules to remove is correct and
runspace.
At line:1 char:1
+ remove-module IvanToolbox -Force
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : ResourceUnavailable: (:) [Remove-Module], InvalidOperationException
    + FullyQualifiedErrorId : Modules_NoModulesRemoved,Microsoft.PowerShell.Commands.RemoveModuleCommand
```

In case you guys need to know this is my PSVersion 5.1.14393.1358

What’s the deal?

Thanks

---

<div class="post-metadata">

**Author:** ![yudinetz](https://avatars.discourse-cdn.com/v4/letter/y/35a633/32.png) [@yudinetz](https://forums.powershell.org/u/yudinetz)\
**Post date:** [July 3, 2017, 9:01am UTC](https://forums.powershell.org/t/remove-module-import-module-issue/8947/2 "2017-07-03T09:01:47Z")

</div>

Hi Ivan,

Try this: Import-Module IvanToolbox -Force

Check out this [question](https://stackoverflow.com/questions/19045315/powershell-editing-an-already-imported-module) which is similar to yours

---

<div class="post-metadata">

**Author:** ![nj-dude](https://avatars.discourse-cdn.com/v4/letter/n/ecae2f/32.png) [@nj-dude](https://forums.powershell.org/u/nj-dude)\
**Post date:** [July 3, 2017, 9:10am UTC](https://forums.powershell.org/t/remove-module-import-module-issue/8947/3 "2017-07-03T09:10:59Z")

</div>

Thank s for the link.

I was able to “fix” it by just typing Get-Module -ListAvailable, crazy!! but it seemed to work.

---

<div class="post-metadata">

**Author:** ![dotnVo](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dotnVo](https://forums.powershell.org/u/dotnVo)\
**Post date:** [May 16, 2024, 8:38pm UTC](https://forums.powershell.org/t/remove-module-import-module-issue/8947/4 "2024-05-16T20:38:29Z")

</div>

Closed on May 16, 2024, 8:38pm UTC


