Export (0) Print
Expand All
Expand Minimize

Start-SCDynamicOptimization

Updated: April 29, 2014

Applies To: System Center 2012 R2 Virtual Machine Manager

Start-SCDynamicOptimization

Starts dynamic optimization on a host cluster or host group.

Syntax

Parameter Set: ByHostCluster
Start-SCDynamicOptimization [-VMHostCluster] <HostCluster> [-VMMServer <ServerConnection> ] [-WhatIf] [ <CommonParameters>]

Parameter Set: ByHostGroup
Start-SCDynamicOptimization [-VMHostGroup] <HostGroup> [-VMMServer <ServerConnection> ] [-WhatIf] [ <CommonParameters>]




Detailed Description

The Start-SCDynamicOptimization cmdlet manually starts the dynamic optimization process for a host cluster or host group.

Parameters

-VMHostCluster<HostCluster>

Specifies a VMM host cluster object.


Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-VMHostGroup<HostGroup>

Specifies a virtual machine host group object.


Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

false

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

-WhatIf

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


Aliases

none

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.

Outputs

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

  • DynamicOptimizationResults

Examples

Example 1: Optimize hosts in a cluster

The first command gets the host cluster object named Cluster01, and then stores the object in the $Cluster variable.

The second command initiates the dynamic optimization process for the cluster stored in $Cluster.


PS C:\> $Cluster = Get-SCVMHostCluster -Name "Cluster01"
PS C:\> Start-SCDynamicOptimization -VMHostCluster $Cluster

Example 2: Optimize hosts in a host group

The first command gets the host group object named HostGroup01, and then stores the object in the $HostGroup variable.

The second command initiates the dynamic optimization process for the host group stored in $HostGroup.


PS C:\> $HostGroup = Get-SCVMHostGroup -Name "HostGroup01"
PS C:\> Start-SCDynamicOptimization -VMHostGroup $HostGroup

Related topics

 
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft