Remove-AppvServerConnectionGroup

Removes App-V server connection group.

Syntax

Remove-AppvServerConnectionGroup
      [-Name] <String>
      [-Force]
      [[-Version] <Int32>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Remove-AppvServerConnectionGroup
      [-AppvServerConnectionGroup] <SerializableConnectionGroup>
      [-Force]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Remove-AppvServerConnectionGroup
      [-Force]
      [-GroupID] <Guid>
      [[-VersionID] <Guid>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Description

The Remove-AppvServerConnectionGroup cmdlet removes a Microsoft Application Virtualization (App-V) server connection group from the computer.

Examples

1:

Parameters

-AppvServerConnectionGroup

Specifies the package group object.

Type:SerializableConnectionGroup
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Confirm

Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.

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

-Force

Not Specified.

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

-GroupID

Specifies the GUID of specific package group.

Type:Guid
Position:1
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Name

Specifies the name of the package group.

Type:String
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Version

Specifies the version of the specified package group.

Type:Int32
Position:2
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-VersionID

Specifies the version GUID of the package group.

Type:Guid
Position:2
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.

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

Inputs

AppvServer.AppvServerConnectionGroup

Notes

  • Once the package group is removed, its packages remain in other package groups and as part of the library of imported packages on the server.
  • If the cmdlet cannot find a specified package, the cmdlet returns the following error: The specified package could not be found on the system. The cmdlet fails the operation.
  • If you do not specify version information, the cmdlet acts on all available versions of the group.