Backup Exec Management Command Line Interface Help
Test-BELogonAccount Cmdlet
Synopsis

Test the Backup Exec logon account assigned to an agent server or backup source.

Syntax
Test-BELogonAccount [-AgentServer] [<BEAgentServer>] [<CommonParameters>]

Test-BELogonAccount [-AgentServerBackupSource] [<BEAgentServerBackupSource>] [<CommonParameters>]
Description

Tests the Backup Exec logon account assigned to an agent server or backup source.

Parameters

-AgentServer <BEAgentServer>

Specifies an agent server to test the logon account.


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


-AgentServerBackupSource <BEAgentServerBackupSource>

Specifies a backup source to test the logon account.


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


<CommonParameters>

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

Input Types
BackupExec.Management.CLI.BEAgentServer

You can pipe a Backup Exec agent server object to Test-BELogonAccount.



BackupExec.Management.CLI.BEAgentServerBackupSource

You can pipe a Backup Exec agent server backup source to Test-BELogonAccount.

Return Values
BackupExec.Management.CLI.BEAgentServer

Test-BELogonAccount returns a Backup Exec agent server object.



BackupExec.Management.CLI.BEAgentServerBackupSource

Test-BELogonAccount returns a Backup Exec agent server backup source object.

Examples

Example 1

C:\PS> Get-BEAgentServer myserver.mycompany.com | Test-BELogonAccount

These commands test the logon account for the agent server named "myserver.mycompany.com".


Example 2
C:\PS> Get-BEAgentServer myserver.mycompany.com | Get-BEAgentServerBackupSource C: | Test-BELogonAccount

These commands test the logon account for the C: volume of an agent server named "myserver.mycompany.com".

Related Links

Get-BEAgentServer
Get-BEAgentServerBackupSource