New-VBRCSVContainer
Short Description
Creates a scope of computers listed in a CSV file.
Applies to
Product Edition: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
New-VBRCSVContainer -Path <string> -MasterCredentials <CCredentials> [-NetworkCredentials <CCredentials>] [-UseCustomCredentials] [-CustomCredentials <VBRCSVCustomCredentials[]>] [<CommonParameters>] |
Detailed Description
This cmdlet creates the VBRCSVContainer object. This object contains a scope of computers listed in a CSV file. Use this object to create a protection group with the Add-VBRProtectionGroup cmdlet.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept |
|---|---|---|---|---|---|
|
Path |
Specifies the path to the CSV file. The cmdlet will import computer DNS names or IP addresses from this file. |
String |
True |
Named |
True (ByValue |
|
MasterCredentials |
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. |
Accepts the CCredentials object. To get this object, run the Get-VBRCredentials cmdlet. |
True |
Named |
True (ByProperty |
|
NetworkCredentials |
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. |
Accepts the CCredentials object. To get this object, run the Get-VBRCredentials cmdlet. |
False |
Named |
True (ByProperty |
|
UseCustomCredentials |
Defines 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. |
SwitchParameter |
False |
Named |
True (ByProperty |
|
CustomCredentials |
Specifies custom credentials for authenticating with associated computers. |
Accepts the VBRCSVCustomCredentials[] object. To get this object, run the New-VBRCSVCustomCredentials cmdlet. |
False |
Named |
True (ByProperty |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
Examples
Example 1. Creating Scope of Computers from CSV File on Computer
|
This example shows how to create a scope of computers from a CSV file located on your computer.
Perform the following steps:
|
Example 2. Creating Scope of Computers from CSV File on File Share
|
This example shows how to create a scope of computers from a CSV file located on a file share.
Perform the following steps:
|
Example 3. Creating Protection Group with Scope of Computers from CSV File on File Share
|
This example shows how to create a protection group with a scope of computers from a CSV file.
Perform the following steps:
|
Related Commands