Reset-BrokerAutoscaleCatalogFailover
Introduced in: Citrix Virtual Apps and Desktop 7 2511
Resets the desktop group's catalog failover state and switch back to using the primary catalogs for autoscaling.
Syntax
Reset-BrokerAutoscaleCatalogFailover
[[-DesktopGroupUid] <Int32>]
[<CitrixCommonParameters>]
[<CommonParameters>]
Reset-BrokerAutoscaleCatalogFailover
[-InputObject] <DesktopGroup>
[<CitrixCommonParameters>]
[<CommonParameters>]
Description
The Reset-BrokerAutoscaleCatalogFailover cmdlet resets the desktop group's autoscale catalog failover state and switch back to using the primary catalogs for autoscaling.
Examples
EXAMPLE 1
This command resets the autoscale catalog failover for the specified desktop group by internal Uid
Reset-BrokerAutoscaleCatalogFailover -DesktopGroupUid 2
EXAMPLE 2
This command resets the autoscale catalog failover for the piped in desktop group
Get-BrokerDesktopGroup -uid 2 | Reset-BrokerAutoscaleCatalogFailover
Parameters
-InputObject
Specifies the desktop group object whose autoscale catalog failover should be reset.
| Type: | DesktopGroup |
| Position: | 2 |
| Default value: | None |
| Required: | True |
| Accept pipeline input: | True (ByValue) |
| Accept wildcard characters: | False |
-DesktopGroupUid
Specifies the desktop group Uid
| Type: | Int32 |
| Position: | 2 |
| Default value: | None |
| Required: | False |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
CitrixCommonParameters
This cmdlet supports the common Citrix parameters: -AdminAddress, -AdminClientIP, -BearerToken, -TraceParent, -TraceState and -VirtualSiteId. For more information, see about_CitrixCommonParameters.
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
Citrix.Broker.Admin.SDK.DesktopGroup
You can pipe the desktop group whose autoscale catalog failover needs resetting to Reset-BrokerAutoscaleCatalogFailover.
Outputs
None
By default, this cmdlet returns no output.