PowerTip: Use Complete Name for PowerShell Cmdlet

Doctor Scripto

Summary: Use the complete name for a Windows PowerShell cmdlet.

Hey, Scripting Guy! Question How can I ensure that I use the correct cmdlet in my Windows PowerShell session if I think
            there might be more than one with the same name?

Hey, Scripting Guy! Answer Use the complete name of the cmdlet—this includes the module name and the cmdlet name.
           Here is an example of using the standard Get-Process cmdlet:

Microsoft.PowerShell.Management\get-process

0 comments

Discussion is closed.

Feedback usabilla icon