File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ Update-AzVM -ResourceGroupName <resourceGroupName> -VM $vm
33
33
## Verify your session host VM is utilizing the licensing benefit
34
34
After deploying your VM, run this cmdlet ot verify the license type:
35
35
``` powershell
36
- Get-AzVM -ResourceGroup <resourceGroupName> -Name <vmName>
36
+ Get-AzVM -ResourceGroupName <resourceGroupName> -Name <vmName>
37
37
```
38
38
39
39
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
56
56
57
57
``` powershell
58
58
$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
+ ```
You can’t perform that action at this time.
0 commit comments