Export Services to Text File in PowerShell on Windows - DevPops-Inc/windows GitHub Wiki
• Press the Windows key, type “powershell” and select “Run as Administrator.”
•
• Type Get-Service | Out-File < directory >\services.txt
and press the Enter to export services to text file.
•
• Type Get-Content < directory >\services.txt
and press the Enter key to get the content of the services.txt
file.
•