Set-VBRSureBackupTestScript
Short Description
Modifies settings of custom recovery verification scripts for VMs.
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 |
|---|---|---|---|---|---|
|
Argument |
Specifies an IP address and the port number. The cmdlet will use this IP address and port to access the VM. |
|
False |
Named |
False |
|
Name |
Specifies a name for a script. The cmdlet will modify a name of the script to the specified. |
|
False |
Named |
False |
|
Path |
Specifies a path to a script. The cmdlet will use this path to access the script. |
|
False |
Named |
False |
|
Script |
Specifies a script. The cmdlet will modify settings of this script.
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 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
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
Perform the following steps:
|
Related Commands
New-VBRSureBackupTestScriptDefines recovery verification scripts for VMs.