Start-RMBackup
From PowerGUI Wiki
Backs up an existing computer collection.
Contents |
Syntax
Start-RMBackup [-Name] <String[]> [<CommonParameters>]
Start-RMBackup -InputObject <ComputerCollection> [<CommonParameters>]
Detailed Description
Backs up the existing computer collection that has the specified name or is represented by the specified objects.
Related Commands
Parameters
| Name | Description | Required? | Pipeline Input | Default Value |
|---|---|---|---|---|
| Name | Specifies the name of the existing computer collection to be backed up. | true | true (ByValue, ByPropertyName) | |
| InputObject | Backs up the existing computer collection represented by the specified collection objects. Enter a variable that contains the objects or type a command or expression that gets the objects. | true | true (ByValue) |
Examples
Example 1
Start-RMBackup –Name Collection1
This command backs up the existing computer collection named Collection1.
Example 2
$c = New-RMCollection Collection1 -Temporary C:\PS>Add-RMCollectionItem -Collection $c -DomainController "dc1.dom1.local" C:\PS>Start-RMBackup -InputObject $c
In the first line of this example, a new temporary computer collection is created. In the second line, a temporary collection is created and then the dc1.dom1.local domain controller is added to that collection. In the third line, the Start-RMBackup cmdlet backs up the temporary collection.
