Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 2.0 » Resume-Service

Resume-Service - Powershell 2.0 CmdLet

Microsoft Windows PowerShell is a command-line shell and scripting tool based on the Microsoft .NET Framework. It is designed for system administrators, engineers and developers to control and automate the administration of Windows and applications.

More than hundred command-line tools (so called "cmdlets") can be used to perform system administration tasks and Windows Management Instrumentation (WMI). These cmdlets are easy to use, with standard naming conventions and common parameters, and standard tools for piping, sorting, filtering, and formatting data and objects.

Resume-Service


Short description
Resumes one or more suspended (paused) services.

Syntax
Resume-Service [-Name] <string[]> [-Exclude <string[]>] [-Include <string[]>] [-PassThru] [-Confirm] [-WhatIf] [<Co
mmonParameters>]

Resume-Service -DisplayName <string[]> [-Exclude <string[]>] [-Include <string[]>] [-PassThru] [-Confirm] [-WhatIf]
 [<CommonParameters>]

Resume-Service [-InputObject <ServiceController[]>] [-Exclude <string[]>] [-Include <string[]>] [-PassThru] [-Confi
rm] [-WhatIf] [<CommonParameters>]

Description
The Resume-Service cmdlet sends a resume message to the Windows Service Controller for each of the specified servic
es. If they have been suspended, they will resume service. If they are currently running, the message is ignored. Y
ou can specify the services by their service names or display names, or you can use the InputObject parameter to pa
ss a service object that represents the services that you want to resume.