The code for notes.txt is: Get-Process | ConvertTo-HTML | Out-File test1.html test1.html Get-Process | Select-Object -Property Name,ID,CPU,PM | ConvertTo-Html | Out-File test1.html Get-Content -Raw ./credscan.yml | ConvertFrom-Yaml | ConvertTo-Json -Depth 100 | Out-File test1.json