Output (“echo”) a variable to a text file March 23, 2023 by Tarik The simplest Hello World example… $hello = "Hello World" $hello | Out-File c:\debug.txt