Skip to content

Latest commit

 

History

History
107 lines (81 loc) · 2.28 KB

Get-AvdImageVersionStatus.md

File metadata and controls

107 lines (81 loc) · 2.28 KB
external help file Module Name online version schema
Az.Avd-help.xml
Az.Avd
2.0.0

Get-AvdImageVersionStatus

SYNOPSIS

Gets the image version from where the session host is started from.

SYNTAX

Hostpool (Default)

Get-AvdImageVersionStatus -HostpoolName <String> -ResourceGroupName <String> [-NotLatest] [<CommonParameters>]

Sessionhost

Get-AvdImageVersionStatus -HostpoolName <String> -ResourceGroupName <String> [-SessionHostName <String>]
 [-NotLatest] [<CommonParameters>]

DESCRIPTION

The function will help you getting insights if there are session hosts started from an old version in relation to the Shared Image Gallery

EXAMPLES

EXAMPLE 1

Get-AvdImageVersionStatus -HostpoolName avd-hostpool-001 -ResourceGroupName rg-avd-001

PARAMETERS

-HostpoolName

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

-ResourceGroupName

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

-SessionHostName

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

-NotLatest

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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

RELATED LINKS