Starts a VMM service and all virtual machines within the service.
Description
The Start-SCService cmdlet starts a System Center Virtual Machine Manager (VMM) service and all virtual machines within the service. To stop a service, use the Stop-SCService cmdlet.
For more information about Start-SCService, type: "Get-Help Start-SCService -online".
Parameters
Service
Required?
true
Accept Pipeline Input?
true (ByValue)
Position?
named
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.
The first command gets the service object named Service01 and stores the object in the $Service variable.
The second command starts the service in $Service, which starts all of the virtual machines in the service.