The code for get-notepad.ps1 is: Get-Process -Name notepad++ | ConvertTo-Html | Out-File notepad.html