Skip to content

Latest commit

 

History

History
163 lines (126 loc) · 3.24 KB

Update-AvdWorkspace.md

File metadata and controls

163 lines (126 loc) · 3.24 KB
external help file Module Name online version schema
Az.Avd-help.xml
Az.Avd
2.0.0

Update-AvdWorkspace

SYNOPSIS

Updates a new Azure Virtual Desktop workspace.

SYNTAX

Name (Default)

Update-AvdWorkspace -Name <String> -ResourceGroupName <String> -location <String> [-friendlyName <String>]
 [-description <String>] [-ApplicationGroupReference <Array>] [<CommonParameters>]

ResourceId

Update-AvdWorkspace -ResourceId <String> -location <String> [-friendlyName <String>] [-description <String>]
 [-ApplicationGroupReference <Array>] [<CommonParameters>]

DESCRIPTION

The function will update an existing Azure Virtual Desktop workspace.

EXAMPLES

EXAMPLE 1

Update-AvdWorkspace -name avd-workspace -resourceGroupName rg-avd-01 -location WestEurope -description "Work in space"

EXAMPLE 2

Update-AvdWorkspace -name avd-workspace -resourceGroupName rg-avd-01 -location WestEurope -ApplicationGroupReference @("id_1","id_2")

EXAMPLE 3

Update-AvdWorkspace -resourceId "/subscriptions/../workspacename" -location WestEurope -ApplicationGroupReference @("id_1","id_2")

PARAMETERS

-Name

Enter the AVD workspace name

Type: String
Parameter Sets: Name
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ResourceGroupName

Enter the AVD workspace resourcegroup name

Type: String
Parameter Sets: Name
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ResourceId

{{ Fill ResourceId Description }}

Type: String
Parameter Sets: ResourceId
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-location

Enter the Azure location

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-friendlyName

Change the workspace friendly name

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-description

Enter a description

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ApplicationGroupReference

Provide the application group resource IDs where the workspace assign to.

Type: Array
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

RELATED LINKS