New-AzVMwareScriptSecureStringExecutionParameterObject
Create an in-memory object for ScriptSecureStringExecutionParameter.
Syntax
New-AzVMwareScriptSecureStringExecutionParameterObject
-Name <String>
[-SecureValue <SecureString>]
[<CommonParameters>]
Description
Create an in-memory object for ScriptSecureStringExecutionParameter.
Examples
Example 1: Create a local Script Secure String Execution object
$mypwd = ConvertTo-SecureString -String "****" -AsPlainText -Force
New-AzVMwareScriptSecureStringExecutionParameterObject -Name azps_test_securevalue -SecureValue $mypwd
Name SecureValue Type
---- ----------- ----
azps_test_securevalue System.Security.SecureString SecureValue
Create a local Script Secure String Execution object
Parameters
-Name
The parameter name.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SecureValue
A secure value for the passed parameter, not to be stored in logs.
Type: | SecureString |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure PowerShell