Preparing your Powershell environment to run BEMCLI and scripts
Published 13 years ago
Version 1.0Was this article helpful?
Hi,
Is it possible to edit the password for logon account in BE?
I am trying following command, but get the error:
BEMCLI> Get-BELogonAccount "administrator" |Set-BELogonAccount -NewPassword 'p'
Set-BELogonAccount : Cannot bind parameter 'NewPassword'. Cannot convert the "p
" value of type "System.String" to type "System.Security.SecureString".
At line:1 char:68
+ Get-BELogonAccount "administrator" |Set-BELogonAccount -NewPassword <<<< 'p'
+ CategoryInfo : InvalidArgument: (:) [Set-BELogonAccount], Param
eterBindingException
+ FullyQualifiedErrorId : CannotConvertArgumentNoMessage,BackupExec.Manage
ment.CLI.Commands.SetBELogonAccountCommand
How to use 'SecureString'?
Regards,