Backup Exec Management Command Line Interface Help
Rename-BELegacyBackupToDiskFolderDevice Cmdlet
Synopsis

Renames a legacy backup-to-disk folder device in Backup Exec.

Syntax
Rename-BELegacyBackupToDiskFolderDevice [-InputObject] [<BELegacyBackupToDiskFolderDevice>] [[-NewName] [<String>]] [-Confirm [<SwitchParameter>]] [-WhatIf [<SwitchParameter>]] [<CommonParameters>]
Description

Renames a legacy backup-to-disk folder device in Backup Exec.

Parameters

-InputObject <BELegacyBackupToDiskFolderDevice>

Specifies the legacy backup-to-disk folder device object to rename.


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


-NewName <String>

Specifies the new name to assign to the legacy backup-to-disk folder device object.


Required false
Position 1
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.BELegacyBackupToDiskFolderDevice

You can pipe a Backup Exec legacy backup-to-disk folder device object to Rename-BELegacyBackupToDiskFolderDevice.

Return Value
BackupExec.Management.CLI.BELegacyBackupToDiskFolderDevice

Rename-BELegacyBackupToDiskFolderDevice returns an object that represents the legacy backup-to-disk folder device that was renamed.

Example
C:\PS> Get-BELegacyBackupToDiskFolderDevice "Device 0001" | Rename-BELegacyBackupToDiskFolderDevice -NewName "Device 0002"

These commands rename a legacy backup-to-disk folder device named "Device 0001" to "Device 0002".

Related Link

Get-BELegacyBackupToDiskFolderDevice