Citrix Virtual Apps and Desktops SDK

New-AppLibAppVPackageRepositoryEvent

Records telemetry information

Syntax

New-AppLibAppVPackageRepositoryEvent
   [-RepositoryType <Int32>]
   [-PackageCount <Int32>]
   [-Location <String>]
   [-LoggingId <Guid>]
   [<CitrixCommonParameters>]
   [<CommonParameters>]
<!--NeedCopy-->

Description

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

Examples

EXAMPLE 1

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

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

EXAMPLE 2

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

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

Parameters

-RepositoryType

Indicates the source location of the application

Type: Int32
Position: Named
Default value: None - This is a mandatory parameter
Required: False
Accept pipeline input: False
Accept wildcard characters: False

-PackageCount

The number of packages in the repository

Type: Int32
Position: Named
Default value: None - This is a mandatory parameter
Required: False
Accept pipeline input: False
Accept wildcard characters: False

-Location

The location(URL) of the package repository

Type: String
Position: Named
Default value: None - This is a mandatory parameter
Required: False
Accept pipeline input: False
Accept wildcard characters: False

-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.

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

CitrixCommonParameters

This cmdlet supports the common Citrix parameters: -AdminAddress, -AdminClientIP, -BearerToken, -TraceParent, -TraceState and -VirtualSiteId. For more information, see about_CitrixCommonParameters.

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

None

You can’t pipe objects to this cmdlet.

Outputs

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

This command is intended for internal use only. The user is not able to add new package repositories to the system.

RepositoryTypeValue(0) = Microsoft App-V Server (Dual Admin)

RepositoryTypeValue(1) = App-V Single Admin

RepositoryTypeValue(1) = App-V Single Admin

RepositoryTypeValue(2) = MSIX

RepositoryTypeValue(3) = MSIX AppAttach

RepositoryTypeValue(4) = FlexApp

New-AppLibAppVPackageRepositoryEvent