Export-RMBackup
From PowerGUI Wiki
Exports registration information for a backup into an .xml file.
Contents |
Syntax
Export-RMBackup [-Path] <String> [-InputObject <PSObject[]>] [<CommonParameters>]
Detailed Description
This cmdlet exports the registration information for the specified backup into an .xml file. You can then use the Import-RMBackup cmdlet to transform the registration information saved in the .xml file into an object.
Related Commands
Parameters
| Name | Description | Required? | Pipeline Input | Default Value |
|---|---|---|---|---|
| Path | Specifies the path to the .xml file where you want to save registration information for the backup. | true | false | |
| InputObject | Accepts a backup object as input to the cmdlet. Enter a variable that contains the objects or type a command or expression that gets the objects. | false | true (ByValue) |
Examples
Example
$b = Get-RMBackup Export-RMBackup -Path Backups.xml -InputObject $b
Exports registration information for all backups registered with Recovery Manager into the Backups.xml file.
