PSConsoleReadLine.GetHistoryItems Method

Definition

Return a collection of history items.

public static Microsoft.PowerShell.PSConsoleReadLine.HistoryItem[] GetHistoryItems ();
static member GetHistoryItems : unit -> Microsoft.PowerShell.PSConsoleReadLine.HistoryItem[]
Public Shared Function GetHistoryItems () As PSConsoleReadLine.HistoryItem()

Returns

Applies to