Returns VSS settings of a specific VM in job.
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus
Get-VBRJobObjectVssOptions [-ObjectInJob] <CObjectInJob> [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>]
This cmdlet returns VSS settings set for a specific VM in job.
Run Get-VBRJobVSSOptions to get the list of VSS options of a specific job.
Specifies the VMs or VM containers for which you want to get VSS options.
This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.
This command looks for the VSS settings of the first VM included in job named "Exchange Backup Copy". The job to look for the VM in is obtained with Get-VBRJob and piped down. The VM is obtained with Get-VBRJobObject by selecting the first VM in the job object list and piped down.
PS C:\PS> Get-VBRJob -Name "Exchange Backup Copy" | Get-VBRJobObject | Select -First 1 | Get-VBRJobObjectVssOptions
This command looks for the VSS settings of the VM represented by the $vm variable. The VM is obtained with Get-VBRJobObject and assigned to the variable beforehand.
PS C:\PS> Get-VBRJobObjectVssOptions -ObjectInJob $vm