Set-VBRSureBackupTestScript
Short Description
Modifies settings of custom recovery verification scripts for VMs.
Applies to
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
Set-VBRSureBackupTestScript -Script <VBRCustomSureBackupTestScript> [-Name <string>] [-Path <string>] [-Argument <string>] [<CommonParameters>] |
Detailed Description
This cmdlet modifies settings of custom recovery verification scripts for VMs that are added to application groups and to jobs that are linked to SureBackup jobs.
Note |
To modify settings, specify new values for the necessary parameters. The cmdlet will overwrite the previous parameter values with new values. The parameters that you omit will remain unchanged. |
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
---|---|---|---|---|---|
Script | Specifies a script. The cmdlet will modify settings of this script. | Accepts the VBRCustomSureBackupTestScript object. To creates this object, run the New-VBRSureBackupTestScript cmdlet. | True | Named | True (ByValue, |
Name | Specifies a name for a script. The cmdlet will modify a name of the script to the specified. | String | False | Named | False |
Path | Specifies a path to a script. The cmdlet will use this path to access the script. | String | False | Named | False |
Argument | Specifies an IP address and the port number. The cmdlet will use this IP address and port to access the VM. | String | False | 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. Modifying Path to Custom Recovery Verification Script
This example shows how to modify a path to a custom script. The cmdlet will use the C:\scripts\script.bat path instead of the C:\scripts\verificationscript.bat to access the script.
Perform the following steps:
|
Example 2. Modifying IP Address and Port Number of Custom Recovery Verification Script
This example shows how to modify a path to a custom script. The cmdlet will use the 192.0.2.7 IP address and the 64 port number to access the VM.
Perform the following steps:
|
Related Commands