Resume-SCService

Starts a paused VMM service and all virtual machines within that service.

Description

The Resume-SCService cmdlet starts a paused System Center Virtual Machine Manager (VMM) service and all virtual machines within that service. To pause a service use the Suspend-SCService cmdlet.

For more information about Resume-SCService, type: "Get-Help Resume-SCService -online".

Parameters

Service

Required? true
Accept Pipeline Input? true (ByValue)
Position? 0
Specifies a VMM service object.

JobVariable

Required? false
Accept Pipeline Input? false
Position? named
Specifies that job progress is tracked and stored in the variable named by this parameter. 

PROTipID

Required? false
Accept Pipeline Input? false
Position? named
Specifies the ID of the PRO tip that triggered this action. This allows for auditing of PRO tips.

RunAsynchronously

Required? false
Accept Pipeline Input? false
Position? named
Indicates that the job runs asynchronously so that control returns to the command shell immediately. 

VMMServer

Required? false
Accept Pipeline Input? false
Position? named
Specifies a VMM server object.

Examples

1: Resume a specific service.
PS C:\> $Service = Get-SCService -Name "Service01"
PS C:\> Resume-SCService -Service $Service
The first command gets the service object named Service01 and stores the object in the $Service variable.

The second command resumes the service stored in $Service, which resumes all of the virtual machines in the service.

See Also

See Also