Citrix Virtual Apps and Desktops SDK

New-AppLibAppVPackageRepositoryEvent

Records telemetry information

Syntax

New-AppLibAppVPackageRepositoryEvent [-RepositoryType <Int32>] [-PackageCount <Int32>] [-Location <String>] [-LoggingId <Guid>] [-BearerToken <String>] [-TraceParent <String>] [-TraceState <String>] [-VirtualSiteId <String>] [-AdminAddress <String>] [<CommonParameters>]
<!--NeedCopy-->

Detailed Description

Indicates that an App-V package repository is added to Citrix Studio.

Parameters

Name Description Required? Pipeline Input Default Value
RepositoryType Indicates the source location of the application false false None - This is a mandatory parameter
PackageCount The number of packages in the repository false false None - This is a mandatory parameter
Location The location(URL) of the App-v package repository false false None - This is a mandatory parameter
LoggingId Specifies the identifier of the high-level operation this cmdlet call forms a part of. Citrix Studio and Director typically create high-level operations. PowerShell scripts can also wrap a series of cmdlet calls in a high-level operation by way of the Start-LogHighLevelOperation and Stop-LogHighLevelOperation cmdlets. false false  
BearerToken Specifies the bearer token assigned to the calling user false false  
TraceParent Specifies the trace parent assigned for internal diagnostic tracing use false false  
TraceState Specifies the trace state assigned for internal diagnostic tracing use false false  
VirtualSiteId Specifies the virtual site the PowerShell snap-in will connect to. false false  
AdminAddress Specifies the address of a XenDesktop controller the PowerShell snap-in will connect to. You can provide this as a host name or an IP address. false false Localhost. Once a value is provided by any cmdlet, this value becomes the default.

Input Type

Return Values

System.Guid

Unique identifier for this repository source

Notes

Telemetry information is sent annonymously to CEIP(Customer Experiance Improvement Program) when the user has opted into the service. Only the information specified in the parameters are sent to CEIP RepositoryTypeValue(0) = Microsoft App-V Server RepositoryTypeValue(1) = Citrix AppLibrary

Examples

Example 1

New-AppLibAppVPackageRepositoryEventCommand -RepositoryType 1 -PackageCount 32 -Location "http://appvserver.acme.com:9000"
<!--NeedCopy-->

Description

Records that a Microsoft App-V Server was used in Citrix Studio and that it contains 32 packages located at “http://appvserver.acme.com:9000”

Example 2

New-AppLibAppVPackageRepositoryEventCommand -RepositoryType 2 -PackageCount 32 -Location "AppLibrary"
<!--NeedCopy-->

Description

Records that the internal Citrix AppLibrary was used in Citrix Studio and that it contains 32 packages.

New-AppLibAppVPackageRepositoryEvent