New-AzVMwareScriptStringExecutionParameterObject
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 ScriptStringExecutionParameter.
Syntax
Default (Default)
New-AzVMwareScriptStringExecutionParameterObject
-Name <String>
[-Value <String>]
[<CommonParameters>]
Description
Create an in-memory object for ScriptStringExecutionParameter.
Examples
Example 1: Create a local Script String Execution object
New-AzVMwareScriptStringExecutionParameterObject -Name azps_test_value -Value "passwordValue"
Name Type Value
---- ---- -----
azps_test_value Value passwordValue
Create a local Script String Execution object
Parameters
-Name
The parameter name.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | True |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-Value
The value for the passed parameter.
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.