Export (0) Print
Expand All
Expand Minimize

Resume-ASAppServiceInstance

Resume-ASAppServiceInstance

Resume one or more suspended service instances.

Syntax

Parameter Set: ByName
Resume-ASAppServiceInstance -ServiceInstanceInfo <ServiceInstanceInfo> [-Confirm] [-WhatIf] [ <CommonParameters>]


Detailed Description

This cmdlet resumes the execution of specified service instances. After the successful execution of this cmdlet, the instance will be “Running” state. If the instance is already in memory, the cmdlet just resumes it. If the instance is in a durable persistence store, not in memory, the instance is reloaded into memory in its last-known good-state based on information in the persistence store and its execution is resumed.

Parameters

-ServiceInstanceInfo<ServiceInstanceInfo>

Specify the ServiceInstance object that corresponds to the workflow service instance that needs to be resumed. This parameter is used in piping scenarios.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

-Confirm

Prompts you for confirmation before executing the command.


Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

Describes what would happen if you executed the command without actually executing the command.


Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • None.


Outputs

The output type is the type of the objects that the cmdlet emits.

  • None.


Examples

EXAMPLE 1

This command resumes all instances of services that are contained in “Default Web Site”.


Get-ASAppServiceInstance –sitename “Default Web Site” | Resume-ASAppServiceInstance

EXAMPLE 2

This command resumes all instances of workflow services that belong to the SampleApp application in the “Default Web Site”.


Get-ASAppServiceInstance –sitename “Default Web Site” –virtualpath “/SampleApp” | Resume-ASAppServiceInstance

EXAMPLE 3

This command resumes all instances of workflow services that belong to the SampleApp application (specified by using the URI)


Get-ASAppServiceInstance –uri “http://localhost/SampleApp” | Resume-ASAppServiceInstance
Show:
© 2014 Microsoft