Get-VBRMalwareDetectionObject

Short Description

Returns machines affected by malware.

Note

This cmdlet is available starting from Veeam Backup & Replication 12.1 (build 12.1.0.2131).

Applies to

Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License

Syntax

This cmdlet provides parameter sets that allow you to:

  • Get machines and hosts affected by malware by their IDs.

Get-VBRMalwareDetectionObject -ObjectId <Guid[]> [<CommonParameters>]

  • Get machines and hosts affected by malware by their names.

Get-VBRMalwareDetectionObject -ObjectName <String[]> [<CommonParameters>]

Detailed Description

This cmdlet returns machines affected by malware.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

ObjectId

Specifies an array of IDs of hosts and machines affected by malware. The cmdlet will return hosts and machines by these IDs.

Guid[]

True

Named

True (ByPropertyName, ByValue)

ObjectName

Specifies an array of names of hosts and machines affected by malware. The cmdlet will return hosts and machines with these names.

String[]

True

Named

True (ByPropertyName, ByValue)

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.

Output Object

VBRMalwareDetectionObject

Examples

Get-VBRMalwareDetectionObjectExample 1. Getting Malware Affected Machines by IDs

This command returns the f2957c9c-2201-4473-9247-0590de4cc412 and 935d3e38-d444-4ef4-abae-d43f2f8b4ba1 machines affected by malware.

Get-VBRMalwareDetectionObject -ObjectId "f2957c9c-2201-4473-9247-0590de4cc412", "935d3e38-d444-4ef4-abae-d43f2f8b4ba1"

Get-VBRMalwareDetectionObjectExample 2. Getting Malware Affected Machines by Names

This command returns the WinHost2045 and LinHost2049 machines affected by malware.

Get-VBRMalwareDetectionObject -ObjectName "WinHost2045", "LinHost2049"