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

Removes Backup Exec logon accounts.

Syntax
Remove-BELogonAccount -InputObject [<BELogonAccount[]>] [-PassThru [<SwitchParameter>]] [-Confirm [<SwitchParameter>]] [-WhatIf [<SwitchParameter>]] [<CommonParameters>]
Description

Removes Backup Exec logon accounts.

You cannot remove the System Logon Account and the user-default logon account.

Parameters

-PassThru <SwitchParameter>

Passes the removed object to the pipeline. By default, this cmdlet does not generate any output.


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


-InputObject <BELogonAccount[]>

Specifies one or more logon account objects. Enter a variable that contains the objects, or type a command or expression that gets the objects.


Required true
Position Named
Accepts pipeline input true (ByValue)
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 Remove-BELogonAccount.

Return Value
None or BackupExec.Management.CLI.BELogonAccount

When you use the PassThru parameter, Remove-BELogonAccount returns an object that represents the logon account that was removed. Otherwise, this cmdlet does not generate any output.

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

These commands remove a logon account named "LogonAccount 0001".

Related Link

Get-BELogonAccount