Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies To: System Center 2012 R2 App Controller
Resumes the specified suspended service deployment.
Parameter Set: Default
Resume-SCACServiceDeployment [-ServiceDeployment] <ACServiceDeployment> [[-RunAsynchronously]] [ <CommonParameters>]
The Resume-SCACServiceDeployment cmdlet resumes the specified suspended service deployment. To suspend a service deployment, use the Suspend-SCACServiceDeployment cmdlet.
Indicates that the job runs asynchronously so that control returns to the command shell immediately.
Aliases |
none |
Required? |
false |
Position? |
2 |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
Specifies a service deployment object. To get a service deployment object, use the Get-SCACAzureServiceDeployment cmdlet.
Aliases |
none |
Required? |
true |
Position? |
1 |
Default Value |
none |
Accept Pipeline Input? |
True (ByValue) |
Accept Wildcard Characters? |
false |
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.
The input type is the type of the objects that you can pipe to the cmdlet.
- Microsoft.SystemCenter.CloudManager.PowerShell.ACServiceDeployment, System.Management.Automation.SwitchParameter
The output type is the type of the objects that the cmdlet emits.
- Microsoft.SystemCenter.CloudManager.PowerShell.ACServiceDeployment
The first command gets the Windows Azure subscription object named AzureSubscription01 and stores the object in the $Subscription variable.
The second command gets all service deployment objects for the Windows Azure subscription stored in $Subscription and stores the objects in the $SvcDeployment variable.
The last command resumes the first suspended service deployment stored in $SvcDeployment, and runs the command asynchronously so that control returns to the command shell immediately, before the command stops running.
PS C:\> $Subscription = Get-SCACAzureSubscription –Name “AzureSubscription01”
PS C:\> $SvcDeployment = Get-SCACAzureServiceDeployment –Subscription $Subscription
PS C:\> Resume-SCACServiceDeployment -ServiceDeployment $SvcDeployment[0] -RunAsynchronously