In this example, the credentials for an account are returned. Note that the password is encrypted.
Get-ERSystemCredential -AccountName 'AMER\Administrator'
Connect-ERConfigurationServer hal-test-srv.AMER.hal.ca.qsft
$secpasswd = ConvertTo-SecureString 'pA$$w0d' -AsPlainText -Force
When updating ER Server credentials, the server will be restarted. This function completes before ER Server gets restarted. Before calling any additional configuration cmdlet, reconnect to the server using the following command:
Connect-ERConfigurationServer hal-test-srv.AMER.hal.ca.qsft
This section contains the following examples:
In this example, the new cluster named Second Cluster is created.