Modifier

Partager via


Remove-AppvServerConnectionGroupPackage

(Cmdlet applicable starting in App-V 5.0 SP3) Removes a package from a connection group.

Syntax

Remove-AppvServerConnectionGroupPackage
      [-AppvServerConnectionGroup] <SerializableConnectionGroup>
      [[-AppvServerPackage] <PackageVersion>]
      [-PackageName <String>]
      [-PackageVersion <String>]
      [-PackageID <Guid>]
      [-PackageVersionID <Guid>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Remove-AppvServerConnectionGroupPackage
      [-ConnectionGroupName] <String>
      [[-AppvServerPackage] <PackageVersion>]
      [[-ConnectionGroupVersion] <Int32>]
      [-PackageName <String>]
      [-PackageVersion <String>]
      [-PackageID <Guid>]
      [-PackageVersionID <Guid>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Remove-AppvServerConnectionGroupPackage
      [-ConnectionGroupID] <Guid>
      [[-ConnectionGroupVersionID] <Guid>]
      [[-AppvServerPackage] <PackageVersion>]
      [-PackageName <String>]
      [-PackageVersion <String>]
      [-PackageID <Guid>]
      [-PackageVersionID <Guid>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Description

The Remove-AppvServerConnectionGroupPackage cmdlet removes a package from a connection group.

Examples

1:

Parameters

-AppvServerConnectionGroup

Specifies the connection group object.

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

-AppvServerPackage

Specifies an AppVServerPackage object.

Type:PackageVersion
Position:2
Default value:None
Required:False
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

-ConnectionGroupID

Specifies the GUID of the connection group.

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

-ConnectionGroupName

Specifies the name of the connection group.

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

-ConnectionGroupVersion

Specifies the version of the connection group.

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

-ConnectionGroupVersionID

Specifies the GUID of the connection group version.

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

-PackageID

Specifies the GUID that uniquely identifies the package.

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

-PackageName

Specifies the name of the package.

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

-PackageVersion

Specifies the version of the package.

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

-PackageVersionID

Specifies the GUID that uniquely identifies the version of the package.

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

Microsoft.AppV.Server.AppVMgmtDataTypes.SerializableConnectionGroup, Microsoft.AppV.Server.AppVMgmtDataTypes.PackageVersion

Outputs

Object