編集

次の方法で共有


Clear-NetworkControllerNodeContent

Clears Network Controller settings from a Network Controller node.

Syntax

Default (Default)

Clear-NetworkControllerNodeContent
    [-Force]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Description

The Clear-NetworkControllerNodeContent cmdlet is used to clear Network Controller settings from a Network Controller node.

Consider a scenario where you want to remove a node from the cluster, and the node is not reachable over the network. You can still remove the node using Remove-NetworkControllerNode command, but to remove local settings from the node, you must execute Clear-NetworkControllerNodecontent cmdlet locally on the removed node.

Additionally, the Network Controller configuration may fail before configuration is complete. If the configuration is partially complete on one or more nodes, run this cmdlet locally on the nodes to remove the configuration. In these cases, the Network Controller configuration error message will inform you to run this cmdlet on specific nodes.

Do not execute this cmdlet to remove a node from the cluster. Use Remove-NetworkControllerNode for that purpose.

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Parameter properties

Type:SwitchParameter
Default value:False
Supports wildcards:False
DontShow:False
Aliases:cf

Parameter sets

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

-Force

Forces the command to run without asking for user confirmation.

Parameter properties

Type:SwitchParameter
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

-WhatIf

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

Parameter properties

Type:SwitchParameter
Default value:False
Supports wildcards:False
DontShow:False
Aliases:wi

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

None

Outputs

Object