New-AppLibAppVPackageRepositoryEvent

Last published : Oct 31, 2026
Records telemetry information

Syntax

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

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"

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"

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

-SkipCertificateValidation

Forces the cmdlet to skip checking SSL certificates. By default, the cmdlet will check the certificate from the server. If the certificate is not valid, the cmdlet will not connect to the server.
Type: SwitchParameter
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False
Introduced in: Citrix Virtual Apps and Desktop 7 2511

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

Unique identifier for this repository source

Notes

Telemetry information is sent anonymously to CEIP (Customer Experience 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(2) = MSIX
RepositoryTypeValue(3) = MSIX AppAttach
RepositoryTypeValue(4) = FlexApp
RepositoryTypeValue(5) = ElasticAppLayer