Command Detail - H
head
gc file.txt | select-object -first 10history
get-historyget-history | gm -MemberType Property
TypeName: Microsoft.PowerShell.Commands.HistoryInfo
Name MemberType Definition
---- ---------- ----------
CommandLine Property string CommandLine {get;}
EndExecutionTime Property datetime EndExecutionTime {get;}
ExecutionStatus Property System.Management.Automation.Runspaces.PipelineState ExecutionStatus {get;}
Id Property long Id {get;}
StartExecutionTime Property datetime StartExecutionTime {get;}history | egrep -i ls
hostname
Last updated