Mount-AppvClientConnectionGroup

Streams the contents of packages to the local disk.

Syntax

Mount-AppvClientConnectionGroup
     [-ConnectionGroup] <AppvClientConnectionGroup>
     [<CommonParameters>]
Mount-AppvClientConnectionGroup
     [-GroupId] <Guid>
     [-VersionId] <Guid>
     [<CommonParameters>]
Mount-AppvClientConnectionGroup
     [-Name] <String>
     [<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 group.

Required Parameters

-ConnectionGroup

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

Type:AppvClientConnectionGroup
Position:0
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-GroupId

Specifies the group ID of specific connection group.

Type:Guid
Position:0
Default value:None
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
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
Accept pipeline input:False
Accept wildcard characters:False

Inputs

Microsoft.AppvAgent.AppvClientConnectionGroup

Notes

  • If a previous load has been cancelled, the cmdlet resumes that load when 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 return once 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.