15.4. Exploring Services
Using Windows PowerShell to explore what services are installed or running on your machine is straightforward using the Windows PowerShell cmdlets designed to retrieve information about services or to modify their behavior.
The following cmdlets relevant to services are supported by Windows PowerShell version 1.0:
get-service — Retrieves a list of services
new-service — Creates a new service
restart-service — Restarts a stopped service or stops and restarts a running service
resume-service — Resumes a suspended service
set-service — Makes changes to the properties of a service
start-service — Starts a stopped service
stop-service — Stops a running service
suspend-service — Suspends a running service
Get Professional Windows® PowerShell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.