Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

Get-SCPendingServiceSetting

Updated: November 1, 2013

Applies To: System Center 2012 R2 Virtual Machine Manager

Get-SCPendingServiceSetting

Gets the pending service settings for a service that is in a pending service state.

Syntax

Parameter Set: Default
Get-SCPendingServiceSetting [-Service] <Service> [-Name <String> ] [-VMMServer <ServerConnection> ] [ <CommonParameters>]




Detailed Description

The Get-SCPendingServiceSetting cmdlet gets the pending service settings for a service that is in a pending service state.

Parameters

-Name<String>

Specifies the name of a VMM object.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Service<Service>

Specifies a VMM service object.


Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

True (ByValue)

Accept Wildcard Characters?

false

-VMMServer<ServerConnection>

Specifies a VMM server object.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByValue)

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.

Outputs

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

Examples

1. Retrieve all pending service settings from a service in a pending service state

The first command gets the service object named Service01 and stores the object in the $Service variable.

The second command gets the pending service settings for Service01 and displays them for the user.


PS C:\> $Service = Get-SCService -Name "Service01"PS C:\> Get-SCPendingServiceSetting -Service $Service

Related topics

 
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.