We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22d7bb8 commit 16dd47aCopy full SHA for 16dd47a
Engine/Helper.cs
@@ -315,7 +315,7 @@ public bool PositionalParameterUsed(CommandAst cmdAst)
315
/// <param name="name"></param>
316
/// <param name="commandType"></param>
317
/// <returns></returns>
318
- public CommandInfo GetCommandInfo(string name, CommandTypes commandType = CommandTypes.All)
+ public CommandInfo GetCommandInfo(string name, CommandTypes commandType = CommandTypes.Alias | CommandTypes.Cmdlet | CommandTypes.Configuration | CommandTypes.ExternalScript | CommandTypes.Filter | CommandTypes.Function | CommandTypes.Script | CommandTypes.Workflow)
319
{
320
return Helper.Instance.MyCmdlet.InvokeCommand.GetCommand(name, commandType);
321
}
0 commit comments