-
Notifications
You must be signed in to change notification settings - Fork 52
Set HPOVUserPassword
Update current user account password.
Set-HPOVUserPassword [-Current] <String> [-New] <String> [-ApplianceConnection] <Object> [<CommonParameters>]
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.
-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)
-------------------------- EXAMPLE 1 --------------------------Set-HPOVUserPassword MyCurrentPass NewP@ssw0rd
Update your HPE OneView account password to the new value on all connected appliances.
Update current user account password.
Set-HPOVUserPassword [-Current] <String> [-New] <String> [-ApplianceConnection] <Object> [<CommonParameters>]
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.
-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)
-------------------------- EXAMPLE 1 --------------------------Set-HPOVUserPassword MyCurrentPass NewP@ssw0rd
Update your HPE OneView account password to the new value on all connected appliances.