New-AzVMwarePSCredentialExecutionParameterObject
Create a in-memory object for PSCredentialExecutionParameter
Syntax
New-AzVMwarePSCredentialExecutionParameterObject
-Name <String>
[-Password <String>]
[-Username <String>]
[<CommonParameters>]
Description
Create a in-memory object for PSCredentialExecutionParameter
Examples
Example 1: Create a local PS Credential Execution object
New-AzVMwarePSCredentialExecutionParameterObject -Name azps_test_credentialvalue -Password "passwordValue" -Username "usernameValue"
Name Password Type Username
---- -------- ---- --------
azps_test_credentialvalue passwordValue Credential usernameValue
Create a local PS Credential Execution object
Parameters
-Name
The parameter name.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Password
password for login.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Username
username for login.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure PowerShell
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for