to get the ServiceController objects for all of the services that are running in their own processes, then export this information to a CSV file
PS R:\> get-service
| where { $_.serviceType -eq "Win32OwnProcess" }
| export-csv -notype ./edit3.csv
or,
PS R:> get-service | where { $_.serviceType -eq "Win32OwnProcess" } | export-csv -notype ./edit3.csv
or,
PS R:\> get-service
| where { $_.serviceType -eq "Win32OwnProcess" }
| export-csv -notype ./edit3.htm <--- not applicable for .xml
` edit3.csv ` contains delimited (comma-separted) text.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment