This is the built-in help made by Microsoft for the command 'Resume-Service', in PowerShell version 5 - as retrieved from
Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.
For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.
Resumes one or more suspended (paused) services.
Resume-Service [-InputObject] <ServiceController[]> [-Exclude [<String[]>]] [-Include [<String[]>]] [-InformationAction {SilentlyContinue | Stop | Continue | Inquire |
Ignore | Suspend}] [-InformationVariable [<System.String>]] [-PassThru] [<CommonParameters>]
Resume-Service [-Exclude [<String[]>]] [-Include [<String[]>]] [-InformationAction {SilentlyContinue | Stop | Continue | Inquire | Ignore | Suspend}] [-InformationVariable
[<System.String>]] [-PassThru] -DisplayName <String[]> [<CommonParameters>]
Resume-Service [-Name] <String[]> [-Exclude [<String[]>]] [-Include [<String[]>]] [-InformationAction {SilentlyContinue | Stop | Continue | Inquire | Ignore | Suspend}]
[-InformationVariable [<System.String>]] [-PassThru] [<CommonParameters>]
The Resume-Service cmdlet sends a resume message to the Windows Service Controller for each of the specified services. If they have been suspended, they will resume service.
If they are 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.
<
Online Version: http://go.microsoft.com/fwlink/p/?linkid=293908
Get-Service
New-Service
Restart-Service
Set-Service
Start-Service
Stop-Service
Suspend-Service
<
-------------------------- EXAMPLE 1 --------------------------
PS C:\>resume-service sens
This command resumes the System Event Notification service (the service name is represented in the command by "sens") on the local computer. The command uses the Name
parameter to specify the service name of the service, but the command omits the parameter name because the parameter name is optional.
-------------------------- EXAMPLE 2 --------------------------
PS C:\>get-service | where-object {$_.Status -eq "Paused"} | resume-service
This command resumes all of the suspended (paused) services on the computer. The first command gets all of the services on the computer. The pipeline operator (|) passes the
results to the Where-Object cmdlet, which selects the services with a Status property of "Paused". The next pipeline operator sends the results to Resume-Service, which
resumes the paused services.
In practice, you would use the WhatIf parameter to determine the effect of the command before running it without WhatIf.