New-AzCloudServiceRemoteDesktopExtensionObject
Create a in-memory object for Remote Desktop Extension
Syntax
New-AzCloudServiceRemoteDesktopExtensionObject
[-Name] <String>
[-Credential] <PSCredential>
[[-Expiration] <DateTime>]
[[-TypeHandlerVersion] <String>]
[[-RolesAppliedTo] <String[]>]
[[-AutoUpgradeMinorVersion] <Boolean>]
[<CommonParameters>]
Description
Create a in-memory object for Remote Desktop Extension
Examples
Example 1: Create remote desktop extension object
$credential = Get-Credential
$expiration = (Get-Date).AddYears(1)
$extension = New-AzCloudServiceRemoteDesktopExtensionObject -Name 'RDPExtension' -Credential $credential -Expiration $expiration -TypeHandlerVersion '1.2.1'
This command creates remote desktop extension object which is used for creating or updating a cloud service. For more details see New-AzCloudService.
Parameters
-AutoUpgradeMinorVersion
Auto upgrade minor version.
Type: | Boolean |
Position: | 6 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Credential
Credential for Remote Desktop Extension.
Type: | PSCredential |
Position: | 2 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Expiration
Expiration for Remote Desktop Extension.
Type: | DateTime |
Position: | 3 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
Name of Remote Desktop Extension.
Type: | String |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-RolesAppliedTo
Roles applied to.
Type: | String[] |
Position: | 5 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-TypeHandlerVersion
Remote Desktop Extension version.
Type: | String |
Position: | 4 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.
Azure PowerShell