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.
•
• Type Get-Content < filename >.txt
and press the Enter key to view the contents of the file you just created.
•