external help file | Module Name | online version | schema |
---|---|---|---|
Az.Avd-help.xml |
Az.Avd |
2.0.0 |
Gets the image version from where the session host is started from.
Get-AvdImageVersionStatus -HostpoolName <String> -ResourceGroupName <String> [-NotLatest] [<CommonParameters>]
Get-AvdImageVersionStatus -HostpoolName <String> -ResourceGroupName <String> [-SessionHostName <String>]
[-NotLatest] [<CommonParameters>]
The function will help you getting insights if there are session hosts started from an old version in relation to the Shared Image Gallery
Get-AvdImageVersionStatus -HostpoolName avd-hostpool-001 -ResourceGroupName rg-avd-001
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 name
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Enter the session host name.
Type: String
Parameter Sets: Sessionhost
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This is a switch parameter which let you control the output to show only the sessionhosts which are not started from the latest version.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
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.