Share via


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"