New-RASAVDWorkspace

NAME

New-RASAVDWorkspace

SYNOPSIS

Creates an Azure Virtual Desktop Workspace.

SYNTAX

New-RASAVDWorkspace [-Namearrow-up-right] <string> [[-SiteIdarrow-up-right] <uint>] -Locationarrow-up-right <string> -ProviderIdarrow-up-right <uint> -ResourceGrouparrow-up-right <string> [-Descriptionarrow-up-right <string>] [-FriendlyNamearrow-up-right <string>] [<CommonParametersarrow-up-right>] New-RASAVDWorkspace [[-SiteIdarrow-up-right] <uint>] -AzureIdarrow-up-right <string> -ProviderIdarrow-up-right <uint> [<CommonParametersarrow-up-right>]

DESCRIPTION

Creates a new Azure Virtual Desktop Workspace or imports an existing Azure Virtual Desktop Workspace. This is an Experimental feature which is subject to slight changes.

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.

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

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

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

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

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

-AzureId <string> Azure ID of existing Workspace.

<CommonParameters>

INPUTS

-none-

OUTPUTS

AVDWorkspacearrow-up-right

EXAMPLES

---------- EXAMPLE 1 ---------- New-RASAVDWorkspace -Name "My AVDWorkspace" -ProviderId 1 -ResourceGroup "My Resource Group" -Location "My Location" Creates a new Azure Virtual Desktop Workspace within the Licensing Server site. To create the Azure Virtual Desktop 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 Azure Virtual Desktop Workspace, from an existing Workspace specified by the AzureId, within the Licensing Server site.

Last updated