Modifies a scope of computers listed in a CSV file.
Product Edition: Community, Standard, Enterprise, Enterprise Plus
Set-VBRCSVContainer -Container <VBRCSVContainer> [-Path <string>] [-NetworkCredentials <CCredentials>] [-MasterCredentials <CCredentials>] [-UseCustomCredentials] [-CustomCredentials <VBRCSVCustomCredentials>] [<CommonParameters>]
This cmdlet modifies the VBRCSVContainer object. This object contains the scope of computers you want to add to a protection group. To modify the settings of the scope, enter the corresponding parameters with new values. The parameters you omit will remain unchanged.
Specifies the scope of computers that are listed in a CSV file.
Accepts VBRCSVContainer type.
Specifies the path to the CSV file. The cmdlet will import computers' DNS names or IP addresses from this file.
Specifies Master account credentials for authenticating with all computers listed in a CSV file.
For authenticating with computers that require different credentials, Veeam Backup & Replication uses custom credentials. If you want to use custom credentials for some computers, set the UseCustomCredentials parameter.
Specifies the credentials you want to use for authenticating with the shared folder. The cmdlet will use these credentials if a CSV file is located on a file share.
Indicates that you want to use custom credentials for authenticating with some computers listed in a CSV file.
To specify custom credentials, use the CustomCredentials parameter.
Specifies custom credentials for authenticating with associated computers.
Accepts VBRCSVCustomCredentials type.
This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.
This example shows how to change Master account credentials for a protection group.
You will need to perform the following steps:
- Run Get-VBRProtectionGroup to get the protection group whose settings you want to modify. Save the result to the $group variable.
- Get the protection scope. Use the Container property of the protection group object saved to the $group variable. Save the result to the $csv variable.
- Modify the protection scope. To do this, run Set-VBRCSVContainer with the $csv variable and MasterCredentials parameter. Save the result to the $newcsv variable.
- Run Set-VBRProtectionGroup with the $group and $newcsv variables.
$group = Get-VBRProtectionGroup -Name "Support PG"
$csv = $group.Container
$newcsv = Set-VBRCSVContainer -Container $csv -MasterCredentials "supporteast\dstones"
Set-VBRProtectionGroup -ProtectionGroup $group -Container $newcsv