Set HPOVUserPassword - HewlettPackard/POSH-HPEOneView GitHub Wiki

HPE OneView 4.10 Library

Set-HPOVUserPassword

Update current user account password.

SYNTAX

Set-HPOVUserPassword [-Current] <String> [-New] <String> [-ApplianceConnection] <Object> [<CommonParameters>]

Detailed Description

This cmdlet provides the ability to update the current user account password. Only HPE OneView appliance local account passwords will be changed. This cmdlet does not assist with modifying or updating an LDAP or Active Directory user account"s password.

Parameters

-ApplianceConnection <Object>

Aliases [-Appliance]

Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s).

Default Value: ${Global:ConnectedSessions} | ? Default

Aliases Appliance
Required? true
Position? 2
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? false
Accept wildcard characters?    False

-Current <String>

Aliases [-CurrentPassword]

The current password of the user account. If omitted, the cmdlet will prompt for the users password as a secure string.

Aliases CurrentPassword
Required? true
Position? 0
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-New <String>

Aliases [-NewPassword]

The new password to be set for the user account. If omitted, the cmdlet will prompt for the users password as a secure string.

Aliases NewPassword
Required? true
Position? 1
Default value
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)

Input Types

Return Values

Examples

 -------------------------- EXAMPLE 1 --------------------------

Set-HPOVUserPassword MyCurrentPass NewP@ssw0rd

Update your HPE OneView account password to the new value on all connected appliances.

Related Links


Top

HPE OneView 4.00 Library

Set-HPOVUserPassword

Update current user account password.

SYNTAX

Set-HPOVUserPassword [-Current] <String> [-New] <String> [-ApplianceConnection] <Object> [<CommonParameters>]

Detailed Description

This cmdlet provides the ability to update the current user account password. Only HPE OneView appliance local account passwords will be changed. This cmdlet does not assist with modifying or updating an LDAP or Active Directory user account's password.

Parameters

-ApplianceConnection <Object>

Aliases [-Appliance]

Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s).

Default Value: ${Global:ConnectedSessions} | ? Default

Aliases Appliance
Required? true
Position? 2
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? false
Accept wildcard characters?    False

-Current <String>

Aliases [-CurrentPassword]

The current password of the user account. If omitted, the cmdlet will prompt for the users password as a secure string.

Aliases CurrentPassword
Required? true
Position? 0
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-New <String>

Aliases [-NewPassword]

The new password to be set for the user account. If omitted, the cmdlet will prompt for the users password as a secure string.

Aliases NewPassword
Required? true
Position? 1
Default value
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)

Input Types

Return Values

Examples

 -------------------------- EXAMPLE 1 --------------------------

Set-HPOVUserPassword MyCurrentPass NewP@ssw0rd

Update your HPE OneView account password to the new value on all connected appliances.

Related Links


Top
⚠️ **GitHub.com Fallback** ⚠️