Citrix Daas SDK

Remove-BrokerAutoscalePlugin

Removes an autoscale plugin from the site.

Syntax

Remove-BrokerAutoscalePlugin
      [-InputObject] <AutoscalePlugin[]>
      [-Force]
      [-LoggingId <Guid>]
      [<CitrixCommonParameters>]
      [<CommonParameters>]
<!--NeedCopy-->
Remove-BrokerAutoscalePlugin
      [-Force]
      [-Name] <String>
      [-LoggingId <Guid>]
      [<CitrixCommonParameters>]
      [<CommonParameters>]
<!--NeedCopy-->

Description

Removes an existing autoscale plugin from the site.

Prior to removing a plugin it must be uninstalled from all controllers within the site, failure to do this results in the plugin being added back as soon as any controller is restarted.

If a plugin is currently configured to provide schedule overrides for any desktop group then the -Force switch must be used to remove the plugin.

Examples

EXAMPLE 1

Removes the autoscale plugin with a Uid of 4 from the site.

Remove-BrokerAutoscalePlugin 4
<!--NeedCopy-->

Parameters

-InputObject

The autoscale plugin to be removed from the site.

Type: AutoscalePlugin[]
Position: 2
Default value: None
Required: True
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-Name

The name of the autoscale plugin to be removed from the site.

Type: String
Position: 2
Default value: None
Required: True
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: True

-Force

Used to forcibly remove a plugin from the site even it is currently configured to provide schedule overrides for any desktop group.

Type: SwitchParameter
Position: Named
Default value: False
Required: False
Accept pipeline input: False
Accept wildcard characters: False

-LoggingId

Specifies the identifier of the high level operation that this cmdlet call forms a part of. Desktop Studio and Desktop Director typically create High Level Operations. PowerShell scripts can also wrap a series of cmdlet calls in a High Level Operation by way of the Start-LogHighLevelOperation and Stop-LogHighLevelOperation cmdlets.

Type: Guid
Position: Named
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.AutoscalePlugin

The autoscale plugin to be removed from the site.

Outputs

None

By default, this cmdlet returns no output.

Remove-BrokerAutoscalePlugin