Set-LXCAUserAccountPassword

This cmdlet modifies the password for an existing user account on the Lenovo XClarity Administrator server.

To modify other properties for an existing user account, use the Set-LXCAUserAccount cmdlet.

Note: You cannot pipe objects to this cmdlet.

Syntax

Set-LXCAUserAccountPassword [-Connection Connection] 
                             -CurrentPassword SecureString 
                             -NewPassword SecureString 
                             -ConfirmPassword SecureString
                            [CommonParameter]

Set-LXCAUserAccountPassword [-Connection Connection]
                             -Host  String
                            [-Port Int]
                            [-Proxy WebProxy]
                             -UserName  String
                             -CurrentPassword SecureString 
                             -NewPassword SecureString 
                             -ConfirmPassword SecureString
                            [CommonParameter]

Parameters

-Connection LXCAConnection
Specifies the connection to the Lenovo XClarity Administrator server. If no connection is specified, the result from the last Connect-LXCA cmdlet is used.
-Host String
Specifies the HTTPS address (IP address or hostname) of the XClarity Administrator server.
-Port Int
Specifies the port on the XClarity Administrator server to be used for the connection. The default is 443.
-Proxy WebProxy
Specifies a Web service proxy object that includes proxy connection and authentication information.
-UserName String
Specifies the ID for the user account to be modified.
-CurrentPassword SecureString
Specifies the current password.
-NewPassword SecureString
Specifies the new password.
-ConfirmPassword SecureString
Confirms the new password.
CommonParameters
This cmdlet supports the following common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -WarningAction, -WarningVariable, -OutBuffer, -PipelineVariable, -OutVariable. For detailed information about each common parameter, see the Microsoft PowerShell Common Parameters webpage.

Results

This cmdlets modifies the password for the user account. No object is returned.

Examples

Related links