Output Services to Text File in PowerShell on Windows - DevPops-Inc/windows GitHub Wiki

• Type Get-Service | Out-File < filename >.txt and press the Enter key to output services to a text file.
image

• Type Get-Content < filename >.txt and press the Enter key to view the contents of the file you just created.
image

⚠️ **GitHub.com Fallback** ⚠️