1.17.11. fejezet, History

Get-History | Foreach-Object { $_.CommandLine } > c:\temp\script.ps1