Citrix Virtual Apps and Desktops SDK

Remove-BrokerImportedFTA

Deletes one or more imported file type associations.

Syntax

Remove-BrokerImportedFTA
      -DesktopGroupUids <Int32[]>
      [-LoggingId <Guid>]
      [<CitrixCommonParameters>]
      [<CommonParameters>]
<!--NeedCopy-->

Description

Deletes all of the imported file type associations belonging to one or more desktop groups. At least one desktop group must be specified.

Imported file type associations are grouped together based on the desktop group of the machine from which they were imported. All file types for a desktop group are deleted. There is no mechanism for deleting a subset imported file type associations for a specific desktop group.

Imported file type associations are different from configured file type associations. Imported file type associations are lists of known file type associations for a given desktop group. Configured file type associations are those that are actually associated with published applications for the purposes of content redirection.

Examples

EXAMPLE 1

Deletes all imported file type associations

belonging to the “Sales VMs” desktop group.

$dg = Get-BrokerDesktopGroup -Name "Sales VMs"
Remove-BrokerImportedFTA -DesktopGroupUids $dg.Uid
<!--NeedCopy-->

Parameters

-DesktopGroupUids

Deletes the imported file type associations belonging

to specified desktop groups.

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

Int32[]

An array of Uids for the desktop groups can be supplied as

input. The desktop groups must be of the Private or Shared

desktop kind.

Outputs

None

By default, this cmdlet returns no output.

Notes

If an imported file type association is used to create a new

configured file type association and the imported file type association

is subsequently deleted, the configured file type association is not

affected.

Remove-BrokerImportedFTA