Export (0) Print
Expand All
Expand Minimize

Using the Suspend-Service Cmdlet

Pausing a Running Service

The Suspend-Service cmdlet is used for pausing a service that is currently running. (What’s the difference between pausing a service and stopping a service? A stopped service drops all existing connections and refuses to take any new connections. A paused service will typically continue to service existing connections, but will not accept any new connections.)

To pause a service, simply call Suspend-Service followed by the service name (that is, the name of the service as stored in the registry):



Suspend-Service tapisrv

Alternatively, you can add the -displayname parameter and suspend the service using the service display name, the name that appears in the Services snap-in:



Suspend-Service -displayname "telephony"

Related Links

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft