Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Customize PowerShell Cmdlet Names to Avoid Conflict

$
0
0

Summary: Customize Windows PowerShell cmdlet names that you import from a module to avoid naming conflicts.

Hey, Scripting Guy! Question How can I easily distinguish a cmdlet that has the same name as cmdlets in other modules?

Hey, Scripting Guy! Answer When you import the module, use the –Prefix parameter, and supply custom prefix (ipmo is an alias for ImportModule):

ipmo -Prefix mred -Name pscx


Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>