CmdID

CmdID / PowerShell / Cmdlets / Resume

Resume-Service

Resumes one or more suspended (paused) services. PowerShell reference

From the PowerShell reference 8 parameters

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

What it does

from the PowerShell reference, CC BY 4.0

Resumes one or more suspended (paused) services. The Resume-Service cmdlet sends a resume message to the Windows Service Controller for each of the specified services. If a service is suspended, it resumes. If it is currently running, the message is ignored. You can specify the services by their service names or display names, or you can use the InputObject parameter to pass a service object that represents the services that you want to resume.

Resume-Service [-InputObject] <ServiceController[]> [-PassThru] [-Include <String[]>] [-Exclude <String[]>] [-WhatIf] [-Confirm] [<CommonParameters>]
Resume-Service [-Name] <String[]> [-PassThru] [-Include <String[]>] [-Exclude <String[]>] [-WhatIf] [-Confirm] [<CommonParameters>]
Resume-Service [-PassThru] -DisplayName <String[]> [-Include <String[]>] [-Exclude <String[]>] [-WhatIf] [-Confirm] [<CommonParameters>]

Resume a service on the local computer

PS C:> Resume-Service "sens"Identify

Resume all suspended services

PS C:> Get-Service | Where-Object {$_.Status -eq "Paused"} | Resume-ServiceIdentify

Its page in the reference: Resume-Service.

Parameters

8 in the PowerShell reference
-DisplayNameSpecifies the display names of the services to be resumed. Wildcard characters are permitted.
-ExcludeSpecifies services that this cmdlet omits. The value of this parameter qualifies the Name parameter. Enter a name element or pattern, such as s*. Wildcard characters are permitted.
-IncludeSpecifies services to resume. The value of this parameter qualifies Name parameter. Enter a name element or pattern, such as s*. Wildcard characters are permitted.
-InputObjectSpecifies ServiceController objects that represent the services to resumed. Enter a variable that contains the objects, or type a command or expression that gets the objects.
-NameSpecifies the service names of the services to be resumed.
-PassThruReturns an object that represents the service. By default, this cmdlet does not generate any output.
-ConfirmPrompts you for confirmation before running the cmdlet.
-WhatIfShows what would happen if the cmdlet runs. The cmdlet is not run.