CommandInvocationIntrinsics.CommandNotFoundAction Property

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Gets or sets the event handler that is called when a command is not found. Introduced in Windows PowerShell 3.0.

Namespace:   System.Management.Automation
Assembly:  System.Management.Automation (in System.Management.Automation.dll)

public EventHandler<CommandLookupEventArgs> CommandNotFoundAction { get; set; }
Return to top

Community Additions

ADD
Show: