PSInvocationSettings.AddToHistory Property

Definition

Boolean which tells if the command is added to the history of the Runspace the command is executing in. By default this is false.

public:
 property bool AddToHistory { bool get(); void set(bool value); };
public:
 property bool AddToHistory { bool get(); void set(bool value); };
public bool AddToHistory { get; set; }
member this.AddToHistory : bool with get, set
Public Property AddToHistory As Boolean

Property Value

Applies to