Export (0) Print
Expand All

Rename-OBVolume

Windows Server 2012 R2 and Windows 8.1

Updated: October 17, 2013

Applies To: Windows 8.1, Windows PowerShell 4.0, Windows Server 2012 R2

Rename-OBVolume

Maps a backed up volume to its new name after the operating system has been reinstalled on the backed up server.

Syntax

Parameter Set: Default
Rename-OBVolume [-OldVolumeName] <String> [-NewVolumeName] <String> [ <CommonParameters>]




Detailed Description

The Rename-OBVolume cmdlet maps a backed up volume to its new name after the operating system has been reinstalled on the backed up server. . This cmdlet is useful in the scenario where the operating system is reinstalled and as a result the volume GUID of a backed up volume is changed. After this cmdlet has been run the backup policy of OldVolumeName would be applied to NewVolumeName.

Note: OldVolumeName and NewVolumeName can be same if the volume GUID has changed but the volume name has not changed.

To use Microsoft Azure Backup cmdlets, the user must be a member of the Administrators group or Backup Operators group.

Parameters

-NewVolumeName<String>

Identifies the name of the new volume.


Aliases

none

Required?

true

Position?

2

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-OldVolumeName<String>

Identifies the name of the old volume.


Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

True (ByValue)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • None


Outputs

The output type is the type of the objects that the cmdlet emits.

  • Microsoft.Internal.CloudBackup.Commands.OBVolume


Examples

EXAMPLE 1

This example maps E: to an older volume D:. Policy details such as files to included/exclude in backup for older volume D: would now be applied to E:


PS C:\> Rename-OBVolume D: E:

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft