Set-VBRJobObjectVssOptions
Short Description
Customizes job VSS settings.
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides the following parameter sets:
-
Manual (Default)Set-VBRJobObjectVssOptions [-Object] <CObjectInJob> [-Options] <CGuestProcessingOptions> [<CommonParameters>]
-
CredentialsSet-VBRJobObjectVssOptions [-Object] <CObjectInJob> -Credentials <CCredentials> [<CommonParameters>]
Detailed Description
This cmdlet applies a set of customized VSS settings to the specific objects in job or sets credentials to authenticate with the specific objects in job.
To apply the set of customized settings you need to first create a CVssOptions object. This object unifies all the VSS options you want to apply to the job object.
Run the New-VBRJobVssOptionsReturns default set of VSS options for job or VM in job. cmdlet to create the CVssOptions object.
Run the Set-VBRJobVssOptionsApplies custom VSS settings to a selected job. cmdlet to set the VSS options to the whole job.
Note |
|
To modify settings, specify new values for the necessary parameters. The cmdlet will overwrite the previous parameters values with new values. The parameters that you omit will remain unchanged. |
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Credentials |
Specifies the credentials you want to use for authenticating with the guest VM.
Accepts the |
|
True |
Named |
False |
|
Object |
Specifies the VMs and VM containers for which you want to change VSS settings.
Accepts the |
|
True |
0 |
True (ByPropertyName, ByValue) |
|
Options |
Specifies the option that you want to change.
Accepts the |
|
True |
1 |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Examples
Example 1. Applying Custom VSS Options to Specific VM [Using Pipeline]
|
This example shows how to apply custom VSS options to the
Perform the following steps:
|
Example 2. Applying Custom VSS Options to VM Running Active Directory [Using Variable]
|
This example shows how to apply custom VSS options to the VMs running Active Directory represented by the
Perform the following steps:
|
Example 3. Setting Credentials to Authenticate with SQL Server Included in Specific Backup Job [Using Pipeline]
|
This example shows how to set credentials to authenticate with the SQL server included in the
Perform the following steps:
|
Example 4. Setting Credentials to Authenticate with VM [Using Variable]
|
This example shows how to set credentials to authenticate with the VM represented by the
Perform the following steps:
|
Related Commands
Get-VBRJobObjectReturns VMs or VM containers of specific jobs.Get-VBRJobReturns existing jobs.New-VBRJobVssOptionsReturns default set of VSS options for job or VM in job.Get-VBRCredentialsReturns credentials records.