New-RASAVDWorkspace

NAME

New-RASAVDWorkspace

SYNOPSIS

Creates an Azure Virtual Desktop Workspace.

SYNTAX

New-RASAVDWorkspace [-Name] <string> [[-SiteId] <uint>] -Location <string> -ProviderId <uint> -ResourceGroup <string> [-Description <string>] [-FriendlyName <string>] [<CommonParameters>]

New-RASAVDWorkspace [[-SiteId] <uint>] -AzureId <string> -ProviderId <uint> [<CommonParameters>]

DESCRIPTION

Creates a new Azure Virtual Desktop Workspace or imports an existing Azure Virtual Desktop Workspace.

PARAMETERS

-Name <string> The name of the Azure Virtual Desktop Workspace.

        Required?                    true

        Position?                    0

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false

-SiteId <uint> Site ID in which to create the specified Azure Virtual Desktop Workspace.

If the parameter is omitted, the Licensing Server site ID will be used.

        Required?                    false

        Position?                    1

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false

-ProviderId <uint> The Provider ID of the Azure Virtual Desktop Provider.

        Required?                    true

        Position?                    named

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false

-Description <string> Description of the Azure Virtual Desktop Workspace.

        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false

-FriendlyName <string> Friendly name of Azure Virtual Desktop Workspace.

        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false

-ResourceGroup <string> Resource Group of the Azure Virtual Desktop Workspace.

        Required?                    true

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false

-Location <string> Location Name of the Azure Virtual Desktop Workspace.

        Required?                    true

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false

-AzureId <string> Azure ID of existing Workspace.

        Required?                    true

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false

<CommonParameters>

        This cmdlet supports the common parameters: Verbose, Debug,

        ErrorAction, ErrorVariable, WarningAction, WarningVariable,

        OutBuffer, PipelineVariable, and OutVariable. For more information, see 

        about_CommonParameters documentation. 

INPUTS

-none-

OUTPUTS

AVDWorkspace

EXAMPLES

---------- EXAMPLE 1 ----------

New-RASAVDWorkspace -Name "My AVDWorkspace" -ProviderId 1 -ResourceGroup "My Resource Group" -Location "My Location"

Creates a new AVD Workspace within the Licensing Server site.

To create the AVD Workspace within a specific site, specify the -SiteId parameter. ---------- EXAMPLE 2 ----------

New-RASAVDWorkspace -ProviderId 1 -AzureId "subscriptions/b0375739-05f3-859f-ac89-20ef4dcd92cb/resourceGroups/My_Resource_Group/providers/Microsoft.DesktopVirtualization/workspaces/My-Workspace"

Creates an AVD Workspace, from an existing Workspace specified by the AzureId, within the Licensing Server site.

Last updated

© 2024 Parallels International GmbH. All rights reserved.