external help file | Module Name | online version | schema |
---|---|---|---|
Az.Avd-help.xml |
Az.Avd |
2.0.0 |
Gets the Virtual Machines Azure resource from a AVD Session Host
Get-AvdSessionHostResources -HostpoolName <String> -ResourceGroupName <String> [<CommonParameters>]
Get-AvdSessionHostResources -HostpoolName <String> -ResourceGroupName <String> -SessionHostName <String>
[<CommonParameters>]
The function will help you getting the virtual machine resource information which is behind the AVD Session Host
Get-AvdSessionHostResources -Hostpoolname avd-hostpool -ResourceGroup rg-avd-01
Get-AvdSessionHostResources -Hostpoolname avd-hostpool -ResourceGroup rg-avd-01
Enter the AVD hostpool name
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Enter the AVD hostpool resourcegroup
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Enter the AVD Session Host name
Type: String
Parameter Sets: Sessionhost
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.