Remove-AppvClientConnectionGroup

Aggiornamento: dicembre 2014

Si applica a: Application Virtualization 5.0, Application Virtualization 5.0 SP1, Application Virtualization 5.0 SP2, Application Virtualization 5.0 SP3

Remove-AppvClientConnectionGroup

Delete an App-V connection group on the client.

Sintassi

Parameter Set: ByGuid
Remove-AppvClientConnectionGroup [-GroupId] <Guid> [-VersionId] <Guid> [ <CommonParameters>]

Parameter Set: ByConnectionGroup
Remove-AppvClientConnectionGroup [-ConnectionGroup] <AppvClientConnectionGroup> [ <CommonParameters>]

Parameter Set: ByName
Remove-AppvClientConnectionGroup [-Name] <String> [ <CommonParameters>]




Descrizione dettagliata

The Remove-AppvClientConnectionGroup cmdlet deletes an existing Microsoft Application Virtualization (App-V) connection group on the client. All packages that were in the group are separated.

Parametri

-ConnectionGroup<AppvClientConnectionGroup>

Specifies an App-V Connection Group object.


Alias

none

Obbligatorio?

true

Posizione?

1

Valore predefinito

none

Accetta input da pipeline?

True (ByValue)

Accetta caratteri jolly?

false

-GroupId<Guid>

Specifies the GUID of specific connection group.


Alias

none

Obbligatorio?

true

Posizione?

1

Valore predefinito

none

Accetta input da pipeline?

false

Accetta caratteri jolly?

false

-Name<String>

Specifies the name of the App-V Connection Group.


Alias

none

Obbligatorio?

true

Posizione?

1

Valore predefinito

none

Accetta input da pipeline?

false

Accetta caratteri jolly?

false

-VersionId<Guid>

Specifies the GUID that differentiates a package version from other versions, whether older, newer, or of a completely different lineage. If you do not specify this parameter, the cmdlet operates on all versions of the package.


Alias

none

Obbligatorio?

true

Posizione?

2

Valore predefinito

none

Accetta input da pipeline?

false

Accetta caratteri jolly?

false

<CommonParameters>

Questo cmdlet supporta i parametri comuni: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer e -OutVariable. Per altre informazioni, vedere   about_CommonParameters (http://go.microsoft.com/fwlink/p/?LinkID=113216).

Input

Il tipo di input è il tipo degli oggetti che è possibile reindirizzare al cmdlet.

  • Microsoft.AppvAgent.AppvClientConnectionGroup

Output

Il tipo di output corrisponde al tipo di oggetti generati dal cmdlet.

Note

  • If any packages in the group are still running, the cmdlet returns an error.

  • The cmdlet checks that you have permissions to perform the specific action. If not, the cmdlet returns an error.

  • If the remove operation fails, the cmdlet returns the following error: The remove operation could not be completed. An error code is returned.

  • If any package within the specified group is running, the connection group is not removed until all packages in the new group are shutdown. The cmdlet still returns success as long as the file is valid.

Esempi

Example 1: Remove a named connection group

This command removes the connection group named MyGroup from the computer.


PS C:\> Remove-AppvClientConnectionGroup -Name "MyGroup"

Example 2: Remove a connection group by using its ID

This command removes the connection group that has the group ID 35ec9e5f-ab21-463f-8fe6-b90d4b66d182.


PS C:\> Remove-AppvClientConnectionGroup -GroupID 35ec9e5f-ab21-463f-8fe6-b90d4b66d182

Example 3: Remove all connection groups that have names that match a string

This command finds any connection group that has the string MyGr in the name, and then removes them from the computer.


PS C:\> Get-AppvClientConnectionGroup -Name MyGr* | Remove-AppvClientConnectionGroup

Argomenti correlati

Aggiunte alla community

AGGIUNGI
Mostra: