MAKLs/pwsh-tool-belt

Unload category modules that are removed from the tool belt

MAKLs opened this issue · 0 comments

MAKLs commented

Current Behavior

Whenever a tool category is removed from the tool belt with:

Remove-ToolCategory -ToolCategoryName name

the tool category's module remains loaded in the current session.

Desired Behavior

The process of removing the tool category from the tool belt should also run:

Remove-Module tool_category