====== Powershell Configuration ====== A handy POSH configuration set-alias exp explorer.exe Set-PSReadLineOption -HistoryNoDuplicates function h2 { notepad (Get-PSReadLineOption | select -ExpandProperty HistorySavePath) } function h3 { code -n (Get-PSReadLineOption | select -ExpandProperty HistorySavePath) } function hp { Get-History | Out-GridView -Title "Press CTRL, select multiple and Hit OK" -OutputMode Multiple | ForEach-Object { Write-Output "PS> $($_.CommandLine)" Invoke-Expression $($_.CommandLine) } }