Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The -Force parameter doesn't properly remove the existing module #9

Closed
briantist opened this issue Jul 8, 2017 · 0 comments
Closed
Assignees
Labels

Comments

@briantist
Copy link
Owner

Calling Convert-DscResourceToCommand with -Force twice in a row will result in 2 modules being loaded. 3 times in a row, 3 modules, etc. It's not replacing the loaded module.

Additionally, not calling it with -Force does the exact same thing, so it's not properly following the semantics of Import-Module as it was designed to do.

@briantist briantist added the bug label Jul 8, 2017
@briantist briantist self-assigned this Jul 8, 2017
briantist added a commit that referenced this issue Jul 8, 2017
briantist added a commit that referenced this issue Jul 8, 2017
briantist added a commit that referenced this issue Jul 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant