Write a comment

In Citrix Virtual Apps and Desktops (CVDA) version 24.02, the management of PVS machine catalogs has been greatly reduced and is limited to deleting the catalogs and machines. How PVS catalogs can be created or existing PVS targets can be added is briefly explained below.

There are two ways to manage PVS machine catalogs, either via Powershell or via the PVS console. Both options are explained briefly.

PVS Console | Export Device Wizard

The simplest method is to use the Export Device Wizard, which can be selected by right-clicking on the site. Follow the wizard, but please note:

  • Physical devices are machines that have no power management in the machine catalog, i.e. without a hypervisor connection.
  • Virtual devices are machines that have power management in the machine catalog, i.e. with a hypervisor connection.
  • Function level of the machine catalog: If the catalog has a different function level, this is not displayed in the wizard!

 

Powershell

Without hypervisor connection

  • To create a new PVS machine catalog that does not have a hypervisor connection, use the following command:
    New-BrokerCatalog -PersistUserChanges Discard -ProvisioningType PVS -MachinesArePhysical $true -Description "[Description]" -SessionSupport MultiSession -Name [Name Catalog] -AllocationType Random -IsRemotePC $false -PvsAddress pvs.server.local -PvsDomain domain.com
  • To add a machine to the catalog, proceed as follows
    Get-BrokerCatalog -Name [Name PVS catalog] and read out the UID with e.g.: 10 and then add the machine with the following command:
    New-BrokerMachine -CatalogUid 10 -MachineName 'domain\machine name' -InMaintenanceMode $true

 

With hypervisor connection

  • To create a new PVS machine catalog with hypervisor connection, use the following command:
    New-BrokerCatalog -PersistUserChanges Discard -ProvisioningType PVS -MachinesArePhysical $false -Description "[Description]" -SessionSupport MultiSession -Name [Name Catalog] -AllocationType Random -IsRemotePC $false -PvsAddress pvs.server.local -PvsDomain domain.com
  • To add a machine to the catalog, proceed as follows
    Get-BrokerCatalog -Name [Name PVS catalog] and read out the UID with e.g.: 10 and then get the UID of the hypervisor connection with the following command:
    Get-BrokerHypervisorConnection The following command is required for the ID of the machine:
    Get-ChildItem -Path "xdhyp:connections" -force -Recurse -include "Maschinenname.vm" and with the previously obtained information, the machine can then be added as follows:
    New-BrokerMachine -CatalogUid 10 -MachineName 'domain\machineName' -InMaintenanceMode $true -HypervisorConnectionUid 1 -HostedMachineId 'bed6d4a1-83f7-4717-adb3-ff6474ce7cf9'

 

Write comments...
or post as a guest
Loading comment... The comment will be refreshed after 00:00.

Be the first to comment.