--- title: "New-VBRJobVssOptions" description: "Returns default set of VSS options for job or VM in job. Platform: VMware, Hyper-V Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License This cmdlet provides the following parameter sets: ForJob (Default) ForObject ForReplic" canonical: "https://helpcenter.veeam.com/docs/vbr/powershell/new-vbrjobvssoptions.html" breadcrumb: "Veeam PowerShell Reference > Veeam PowerShell Reference > Jobs > Application-Aware Processing > New-VBRJobVssOptions" dateModified: "2026-08-19" --- # New-VBRJobVssOptions ## Short Description Returns default set of VSS options for job or VM in job. **Platform**: VMware, Hyper-V **Product Edition**: Standard, Enterprise, Enterprise Plus, Veeam Universal License ## Syntax This cmdlet provides the following parameter sets: ## Detailed Description This cmdlet returns the `CVssOptions` object. This object contains default VSS settings for backup jobs, replication jobs or selected VMs. Use an appropriate parameter set for each case. You can modify the settings and use this object to change the VSS settings of a job or VM. Run the [`Set-VBRJobVssOptions`](set-vbrjobvssoptions.md) cmdlet to apply the VSS settings to a job. ::: tip Save the object to a variable when you customize settings: this variable can be used in several jobs. ::: ## Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

ForJob

Defines that the cmdlet will return the list of the default VSS settings for backup, replication or copy job.

SwitchParameter

False

Named

False

ForObject

Defines that the cmdlet will return the list of the default VSS settings for VMs.

SwitchParameter

False

Named

False

ForReplicaJob

Defines that the cmdlet will return the list of the default VSS settings for replication job.

SwitchParameter

False

Named

False

`` This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see [ Microsoft Docs](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_commonparameters?view=powershell-7). ## Examples ::: example ### Getting CVssOptions Object for Backup Job This example shows how to get the `CVssOptions` object with customized VSS settings for a backup job. ``` $o = New-VBRJobVssOptions -ForJob $o.Enabled = $true $o.GuestFSIndexingType = "Everyfolders" $o.TransactionLogsTruncation = "Always" ``` Perform the following steps: 1. Run the `New-VBRJobVssOptions` cmdlet. Provide the `ForJob` parameter. Save the result to the `$o` variable. 2. Modify the VSS settings. Specify the following settings: - Provide the `$true` value for the `Enabled` property of the `$o` variable. - Provide the `Everyfolders` value for the `GuestFSIndexingType` property of the `$o` variable. - Provide the `Always` value for the `TransactionLogsTruncation` property of the `$o` variable. :::