New-AppvServerConnectionGroup

Creates an App-V connection group.

Syntax

New-AppvServerConnectionGroup
   -Name <String>
   [-Priority <UInt32>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

The New-AppvServerConnectionGroup cmdlet creates an empty Microsoft Application Virtualization (App-V) connection group on the management server.

Examples

1:

Parameters

-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

-Name

Specifies the name of the package group.

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

-Priority

This parameter is applicable only for App-V 5.0 SP3 or any subsequent versions of App-V. Specifies a value used to resolve conflicts when opening a package that has been added to multiple connection groups. The connection group with the lowest priority value is used.

Type:UInt32
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

Outputs

AppvServer.AppvServerPackageGroup

Notes

  • This cmdlet returns the new Connection group.