New-VBRSureBackupTestScript
Short Description
Defines recovery verification scripts for VMs.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides the following parameter sets:
-
CustomNew-VBRSureBackupTestScript -Name <String> -Path <String> -Argument <String> [<CommonParameters>]
-
PredefinedApplicationNew-VBRSureBackupTestScript -PredefinedApplication <VBRSureBackupApplication> [<CommonParameters>]
Detailed Description
This cmdlet creates the VBRSureBackupTestScript object that defines recovery verification scripts for VMs that are added to application groups and to jobs that are linked to SureBackup jobs. Veeam Backup & Replication will run this script to verify that the VM that has been assigned the specific role has up and running applications for this role.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Argument |
Specifies an IP address and the port number. The cmdlet will use this IP address and port to access the VM. |
|
True |
Named |
False |
|
Name |
Specifies a name for a script. The cmdlet will define a script with the specified name. |
|
True |
Named |
False |
|
Path |
Specifies a path to a custom script. The cmdlet will use this path to access the script. |
|
True |
Named |
False |
|
PredefinedApplication |
Specifies a script for predefined roles. The cmdlet will run the script to verify applications inside VMs. You can specify the script for either of the following roles:
|
|
True |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the VBRSureBackupTestScript object that defines recovery verification scripts for VMs that are added to application groups and to jobs that are linked to SureBackup jobs.
Examples
Example 1. Defining Recovery Verification Script for Custom VM Roles
|
This command defines the
|
Example 2. Defining Recovery Verification Script for Predefined VM Roles
|
This command defines a verification script for the
|