Reset-ServiceFabricPartitionLoad
Resets the current load of a Service Fabric partition.
Syntax
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.
Type: | Guid |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-TimeoutSec
Specifies the time-out period, in seconds, for the operation.
Type: | Int32 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
System.Guid
Outputs
System.Object