Share via


Reset-ServiceFabricPartitionLoad

Resets the current load of a Service Fabric partition.

Syntax

Default (Default)

Reset-ServiceFabricPartitionLoad
    [-PartitionId] <Guid>
    [-TimeoutSec <Int32>]
    [<CommonParameters>]

Description

The Reset-ServiceFabricPartitionLoad cmdlet resets the current load of a Service Fabric partition to the default load for the service. Specify a partition by its unique ID.

Before you perform any operation on a Service Fabric cluster, establish a connection to the cluster by using the Connect-ServiceFabricCluster cmdlet.

Examples

Example 1: Reset the load of a partition to its default

PS C:\> Reset-ServiceFabricPartitionLoad -PartitionId 0de4596d-c44f-493e-a749-84a29a689524

This command resets the load of partition 0de4596d-c44f-493e-a749-84a29a689524 to its default load.

Parameters

-PartitionId

Specifies the ID of a Service Fabric partition.

Parameter properties

Type:Guid
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:0
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-TimeoutSec

Specifies the time-out period, in seconds, for the operation.

Parameter properties

Type:Int32
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

System.Guid

Outputs

System.Object