Mount-AppvClientConnectionGroup

Streams the contents of packages to the local disk.

Syntax

Mount-AppvClientConnectionGroup
     [-GroupId] <Guid>
     [-VersionId] <Guid>
     [<CommonParameters>]
Mount-AppvClientConnectionGroup
     [-Name] <String>
     [<CommonParameters>]
Mount-AppvClientConnectionGroup
     [-ConnectionGroup] <AppvClientConnectionGroup>
     [<CommonParameters>]

Description

The Mount-AppvClientConnectionGroup cmdlet streams the contents of all packages in a connection group to the local disk.

Examples

Example 1: Download packages for a named group

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

This command downloads all packages that are part of the enabled connection group named MyGroup.

Example 2: Download packages for a group by using group ID

PS C:\> Mount-AppvClientConnectionGroup -GroupID 793afd37-bd68-4ea1-859a-669f6afd0aa8

This cmdlet downloads all the packages that are part of the enabled connection group that has the group ID 793afd37-bd68-4ea1-859a-669f6afd0aa8.

Example 3: Download packages for groups that match a string

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

This command gets all enabled connection groups that have the string MyGr in the name, and then downloads all of the packages in those connection groups.

Parameters

-ConnectionGroup

Specifies the Microsoft Application Virtualization (App-V) Connection Group object.

Type:AppvClientConnectionGroup
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-GroupId

Specifies the group ID of specific connection group.

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

-Name

Specifies the name of the App-V Connection Group.

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

-VersionId

Specifies the GUID that differentiates a Connection Group version from other versions. If you do not specify this parameter, the cmdlet operates on all versions of the connection group.

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

Inputs

Microsoft.AppvAgent.AppvClientConnectionGroup

Notes

  • If a previous load has been canceled, the cmdlet resumes that load when it is run again. The package will be added to the system before loading. Otherwise the cmdlet fails. If you do not specify any parameters, the cmdlet loads all packages on the system.
  • The cmdlet is synchronous. It returns when the load option has completed. To make the cmdlet asynchronous, use the Start-Job cmdlet.
  • The cmdlet checks that you have permissions to perform the specific action. If not, the cmdlet returns an error.