Skip to content

Commit a99dee7

Browse files
authored
Merge pull request #48012 from michawets/patch-3
Update apply-windows-license.md
2 parents c169533 + 5481a4c commit a99dee7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/virtual-desktop/apply-windows-license.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Update-AzVM -ResourceGroupName <resourceGroupName> -VM $vm
3333
## Verify your session host VM is utilizing the licensing benefit
3434
After deploying your VM, run this cmdlet ot verify the license type:
3535
```powershell
36-
Get-AzVM -ResourceGroup <resourceGroupName> -Name <vmName>
36+
Get-AzVM -ResourceGroupName <resourceGroupName> -Name <vmName>
3737
```
3838

3939
A session host VM with the applied Windows license will show you something like this:
@@ -56,5 +56,5 @@ Run the following cmdlet to see a list of all session host VMs that have the Win
5656

5757
```powershell
5858
$vms = Get-AzVM
59-
$vms | ?{$_.LicenseType -like "Windows_Client"} | select ResourceGroupName, Name, LicenseType
60-
```
59+
$vms | Where-Object {$_.LicenseType -like "Windows_Client"} | Select-Object ResourceGroupName, Name, LicenseType
60+
```

0 commit comments

Comments
 (0)