Gets a listing of the session history.
Snap-In: Microsoft.PowerShell.Core
Syntax:
Get-History [
[-Id] <Int64[]>] [ [-Count] <Int32>] [-Verbose] [-Debug] [-ErrorAction <ActionPreference>] [-ErrorVariable <String>] [-OutVariable <String>] [-OutBuffer <Int32>]
Description:
The get-history Cmdlet retrieves the list of cmdlets run in order for the current shell session.