< Back

Remove-AzureRmServiceFabricNode

Tue Jan 29, 2019 10:07 pm

NAME Remove-AzureRmServiceFabricNode



SYNOPSIS

Remove nodes from the specific node type from a cluster.





SYNTAX

Remove-AzureRmServiceFabricNode [-ResourceGroupName] <String> [-Name] <String> [-DefaultProfile <IAzureContextContainer>] -NodeType <String>

-NumberOfNodesToRemove <Int32> [-Confirm] [-WhatIf] [<CommonParameters>]





DESCRIPTION

Use Remove-AzureRmServiceFabricNode to remove nodes from a specific node type from a cluster. The removal proceeds only if it meets cluster health

metrics.





PARAMETERS

-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Name <String>

Specify the name of the cluster.



Required? true

Position? 1

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-NodeType <String>

Node type name.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



-NumberOfNodesToRemove <Int32>

Number of nodes to remove.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



-ResourceGroupName <String>

Specifies the name of the resource group.



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Confirm [<SwitchParameter>]

Prompts you for confirmation before running the cmdlet.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]

Shows what would happen if the cmdlet runs. The cmdlet is not run.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

System.Int32

System.String





OUTPUTS

System.Object







NOTES









Example 1



PS c:> Remove-AzureRmServiceFabricNode -ResourceGroupName 'Group1' -Name 'Contoso01SFCluster' -NodeTypeName 'nt1' -NumberOfNodesToRemove 2



This command will remove 2 nodes from the NodeType 'nt1'.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... fabricnode

Add-AzureRmServiceFabricNode