Get-VBRScanTaskSessionLog
Short Description
Returns the results of scan task sessions performed during the specified SureBackup job session.
Product Edition: Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Get-VBRScanTaskSessionLog -ScanTaskSession <VBRScanTaskSession> [<CommonParameters>] |
Detailed Description
Returns the results of scan task sessions performed during the specified SureBackup job session. The results are written in .txt log files.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
ScanTaskSession |
Specifies the array of scan task sessions performed during the specified SureBackup session. The cmdlet will return scan task sessions performed during this SureBackup session.
Accepts the |
|
True |
Named |
True (ByPropertyName, ByValue) |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the VBRSureBackupScanTaskSessionLog object that contains the results of scan tasks performed during the SureBackup job session.
Examples
Getting List of SureBackup Scan Task Sessions Results
This example shows how to get the list of scan task sessions results performed during the SureBackup job session with 8e3cf452-23cb-490a-a86a-f802940e26df ID.
|
$sbs = Get-VBRSureBackupSession -ID 8e3cf452-23cb-490a-a86a-f802940e26df $ts = Get-VBRSureBackupTaskSession -Session $sbs $sts = Get-VBRScanTaskSession -InitiatorSessionId $ts.id Get-VBRScanTaskSessionLog -ScanTaskSession $sts |
Perform the following steps:
- Run the
Get-VBRSureBackupSessionReturns SureBackup sessions that have been run. cmdlet. Specify theIDparameter. Save the result to the$sbsvariable. - Run the
Get-VBRSureBackupTaskSessionReturns tasks performed during the specified SureBackup session. cmdlet. Set the$sbsvariable as theSessionparameter value. Save the result to the$tsvariable. - Run the
Get-VBRScanTaskSessionReturns scan task sessions performed during the specified SureBackup session. cmdlet. Set the$ts.idvariable as theInitiatorSessionIdparameter value. Save the result to the$stsvariable. - Run the
Get-VBRScanTaskSessionLogcmdlet. Set the$stsvariable as theScanTaskSessionparameter value.
Related Commands
Get-VBRSureBackupSessionReturns SureBackup sessions that have been run.Get-VBRSureBackupTaskSessionReturns tasks performed during the specified SureBackup session.Get-VBRScanTaskSessionReturns scan task sessions performed during the specified SureBackup session.