Skip to content

Commit f3f4fe6

Browse files
committed
Updating PowerShell code.
1 parent 18363d7 commit f3f4fe6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/virtual-desktop/start-virtual-machine-connect.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Set up Start VM on Connect for Azure Virtual Desktop
33
description: How to set up the Start VM on Connect feature for Azure Virtual Desktop to turn on session host virtual machines only when they're needed.
44
author: Heidilohr
55
ms.topic: how-to
6-
ms.date: 08/30/2022
6+
ms.date: 10/18/2022
77
ms.author: helohr
88
manager: femila
99
ms.custom: subject-rbac-steps
@@ -85,7 +85,7 @@ To assign the *Desktop Virtualization Power On Contributor* role with the Azure
8585
> 1. Add the role assignment:
8686
>
8787
> ```powershell
88-
> New-AzRoleAssignment -RoleDefinitionName "Azure Virtual Desktop Start VM on Connect" -ObjectId $objId -Scope /subscriptions/$subId
88+
> New-AzRoleAssignment -RoleDefinitionName "Desktop Virtualization Power On Contributor" -ObjectId $objId -Scope /subscriptions/$subId
8989
> ```
9090
9191
## Enable or disable Start VM on Connect

0 commit comments

Comments
 (0)