Get-Command -ListImported causes importation of modules - by Joel 'Jaykul' Bennett

Status : 


Sign in
to vote
ID 783417 Comments
Status Active Workarounds
Type Bug Repros 0
Opened 4/10/2013 9:52:11 PM
Access Restriction Public


When I execute Get-Command with the -ListImported parameter to search for a command that should not be available, Get-Command causes the module containing the command to be imported!

That seems like the EXACT OPPOSITE of what -ListImported is supposed to do.
Sign in to post a comment.