The Set-HostUserCredential command lets you set the user credentials property of a host.
Set-HostUserCredential [-Name] <String> [-Host] <String> [-Credentials] <PSCredential>
The scenario name.
The host name or IP address of the host for which you want to set the credentials.
The PowerShell credential object of the specific host. You can set this credential object using xo-credential cmdlet.
Example:
$c = xo-credential "administrator" "Password";
Set-HostUserCredential -name "scenario 1" -host 9.182.102.229 -credential $c
Property updated successfully.
Copyright © 2015 Arcserve.
All rights reserved.
|
|