Backup Exec Management Command Line Interface Help
Use-BERestrictedLogonAccount Cmdlet
Synopsis

Allows the current user to use a restricted logon account owned by another user.

Syntax
Use-BERestrictedLogonAccount [-LogonAccount] [<BELogonAccount>] [-CurrentPassword] [<SecureString>] [<CommonParameters>]
Description

Allows the current user to use a restricted logon account owned by another user.

Parameters

-LogonAccount <BELogonAccount>

Specifies the name of the restricted logon account to use.


Required true
Position 0
Accepts pipeline input true (ByValue)
Accepts wildcard characters false


-CurrentPassword <SecureString>

Specifies the password of the resticted logon account.


Required true
Position 1
Accepts pipeline input false
Accepts wildcard characters false


<CommonParameters>

For more information about common parameters, type "Get-Help about_commonparameters".

Input Type
BackupExec.Management.CLI.BELogonAccount

You can pipe a Backup Exec logon account object to Use-BERestrictedLogonAccount.

Return Value
BackupExec.Management.CLI.BELogonAccount

The logon account that the user now has access to.

Example
C:\PS> $password = Read-Host -AsSecureString
C:\PS> Get-BELogonAccount "Logon Account 01" | Use-BERestrictedLogonAccount -CurrentPassword $password

These commands grant the current user access to a restricted logon account named "Logon Account 01".

Related Link

Get-BELogonAccount