New-AzVMwareAddonSrmPropertyObject
This cmdlet is part of a Preview module. Preview versions aren't recommended for use in production environments. For more information, see https://aka.ms/azps-refstatus.
Create an in-memory object for AddonSrmProperties.
Syntax
Default (Default)
New-AzVMwareAddonSrmPropertyObject
[-LicenseKey <String>]
[<CommonParameters>]
Description
Create an in-memory object for AddonSrmProperties.
Examples
Example 1: Create a local SRM object for the Addon Property parameter
New-AzVMwareAddonSrmPropertyObject -LicenseKey "YourLicenseKeyValue"
AddonType LicenseKey ProvisioningState
--------- ---------- -----------------
SRM YourLicenseKeyValue
Create a local SRM object for the Addon Property parameter
Parameters
-LicenseKey
The Site Recovery Manager (SRM) license.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.