Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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

Show: