Backup Exec Management Command Line Interface Help
Set-BEUserDefaultLogonAccount Cmdlet
Synopsis

Sets the default Backup Exec logon account for the current user.

Syntax
Set-BEUserDefaultLogonAccount -LogonAccount [<BELogonAccount>] [[-CurrentPassword] [<SecureString>]] [-Confirm [<SwitchParameter>]] [-WhatIf [<SwitchParameter>]] [<CommonParameters>]
Description

Sets the default Backup Exec logon account for the current user.

Parameters

-LogonAccount <BELogonAccount>

Specifies the Backup Exec logon account.


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


-CurrentPassword <SecureString>

Specifies the current password assigned to this account. This must be specified if you are logged in as a user that is not the owner of the logon account, and the logon account is restricted.


Required false
Position 0
Accepts pipeline input false
Accepts wildcard characters false


-WhatIf <SwitchParameter>

Describes what happens if you execute the command without actually executing the command.


Required false
Position Named
Accepts pipeline input false
Accepts wildcard characters false


-Confirm <SwitchParameter>

Prompts you for confirmation before executing the command.


Required false
Position Named
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 Set-BEUserDefaultLogonAccount.

Return Value
BackupExec.Management.CLI.BELogonAccount

Set-BEUserDefaultLogonAccount returns an object that represents the changed logon account.

Example
C:\PS> Get-BELogonAccount "LogonAccount 0001" | Set-BEUserDefaultLogonAccount

These commands make the logon account named "LogonAccount 0001" the default logon account for the current user.

Related Link

Get-BELogonAccount