Below will extract details of windows services to a text file
Get-Service | Export-Csv -path "C:\Services\services.csv"
With below you can retrieve the running windows services list
Get-Service | where {$_.Status -eq "Running"} | Export-Csv -path "C:\Service\services.csv"
Get-Service | Export-Csv -path "C:\Services\services.csv"
With below you can retrieve the running windows services list
Get-Service | where {$_.Status -eq "Running"} | Export-Csv -path "C:\Service\services.csv"
No comments:
Post a Comment