Skip to content

Latest commit

 

History

History
86 lines (64 loc) · 1.74 KB

Remove-AvdSessionhost.md

File metadata and controls

86 lines (64 loc) · 1.74 KB
external help file Module Name online version schema
Az.Avd-help.xml
Az.Avd
2.0.0

Remove-AvdSessionhost

SYNOPSIS

Removing sessionhosts from an Azure Virtual Desktop hostpool.

SYNTAX

Remove-AvdSessionhost -HostpoolName <String> -ResourceGroupName <String> -SessionHostName <String>
 [<CommonParameters>]

DESCRIPTION

The function will search for sessionhosts and will remove them from the Azure Virtual Desktop hostpool.

EXAMPLES

EXAMPLE 1

Remove-AvdSessionhost -HostpoolName avd-hostpool-personal -ResourceGroupName rg-avd-01 -SessionHostName avd-host-1.wvd.domain

PARAMETERS

-HostpoolName

Enter the WVD 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 WVD 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 sessionhosts name

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
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