Partager via


PowerShell Cmdlet History–Awesomeness

 

I was working to figure something out recently and wanted to look at my history for PowerShell commands.  I quick search turned up the Get-History Cmdlet (https://technet.microsoft.com/en-us/library/ee176849.aspx).  I ran Get-History and piped the output into a file.  I opened the file with Visual Studio Code and grabbed the commands I needed.  By default it remembers your last 64 commands.