external help file | Module Name | online version | schema |
---|---|---|---|
Az.Avd-help.xml |
Az.Avd |
2.0.0 |
Will create a new registration token which you need to onboard new session hosts
Update-AvdRegistrationToken [-HostpoolName] <String> [-ResourceGroupName] <String> [[-HoursActive] <Int32>]
[<CommonParameters>]
The function will create a new registration token, if needed, and will return the value which you need to onboard new session hosts
Update-AvdRegistrationToken -HostpoolName avd-hostpool -ResourceGroupName avd-resourcegroup
Enter the AVD Hostpool name
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
Enter the AVD Hostpool resourcegroup name
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
Optional, give the token availability in hours. Default 4.
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: 4
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.