Publish-AppvServerConnectionGroup

Publishes a connection group.

Syntax

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

Description

The Publish-AppvServerConnectionGroup cmdlet publishes the specified connection group.

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

-GroupID

Specifies the GUID of a 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.AppvServerPackageGroup

Notes

  • If the cmdlet cannot find the specified package groups on the server, the cmdlet returns the following error an error: The following package group(s) could not be found on the system. It lists the packages. The cmdlet fails the operation.
  • If you do not specify version information, the cmdlet publishes all existing versions of the package group.
  • If you do not specify any parameters, the cmdlet publishes all the package groups and subsequent versions on the computer.
  • If a specified package group does not have at least one entitlement associated with it, the cmdlet return the following error: The following package group(s) could not be published because no associated entitlement group could be found. The cmdlet returns a list of the package groups and fails the operation for only those specific groups.
  • If any of the specified groups are empty, the cmdlet returns the following error: One or more of the provided package groups is empty. The publishing operation has failed. The cmdlet returns a list of the package groups.