PSInvocationSettings.AddToHistory Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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