Get-VBRVMExclusion
Short Description
Returns a list of global VM exclusions.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides the following parameter sets:
-
Default (Default)Get-VBRVMExclusion [<CommonParameters>]
-
IdGet-VBRVMExclusion [[-Id] <Guid[]>] [<CommonParameters>]
-
NameGet-VBRVMExclusion [[-Name] <String[]>] [-Note <String>] [<CommonParameters>]
Detailed Description
This cmdlet returns a list of global exclusions created for VMs.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Id |
Specifies the ID of an exclusion. |
|
False |
0 |
True (ByPropertyName, ByValue) |
|
Name |
Specifies an array of excluded VM names. |
|
False |
0 |
True (ByPropertyName, ByValue) |
|
Note |
Specifies the note added for an exclusion. |
|
False |
Named |
True (ByPropertyName) |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the VBRVMExclusion[] object that defines the exclusions.
Examples
Getting Exclusion by VM Name
This command returns an exclusion created for the ubuntusrv20 VM.
|
Get-VBRVMExclusion -Name "ubuntusrv20" |