Skip to content

Set-NsxtApplianceUserPassword

Synopsis

Updates the password for NSX appliance user.

Syntax

Set-NsxtApplianceUserPassword [-userId] <String> [-password] <String> [[-transportNodeId] <String>]
 [[-clusterNodeId] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

The Set-NsxtApplianceUserPassword cmdlet updates the password for an NSX appliance user.

Examples

Example 1

Set-NsxtApplianceUserPassword -userId 0 -password VMw@re1!VMw@re1!

This example updates the password for the userId 0 (root).

Parameters

-userId

The id of the user.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-password

The password for the user.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-transportNodeId

The id of the transport node.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-clusterNodeId

The id of the cluster node.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ProgressAction

Progress Action

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

Common Parameters

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