-
-
Deploying virtual desktops to VMs using the Citrix Virtual Apps and Desktops Setup Wizard
-
Provisioning vGPU-enabled Citrix Virtual Apps and Desktops machines
-
Provision target devices in untrusted domain using API PowerShell commands
-
This content has been machine translated dynamically.
Dieser Inhalt ist eine maschinelle Übersetzung, die dynamisch erstellt wurde. (Haftungsausschluss)
Cet article a été traduit automatiquement de manière dynamique. (Clause de non responsabilité)
Este artículo lo ha traducido una máquina de forma dinámica. (Aviso legal)
此内容已经过机器动态翻译。 放弃
このコンテンツは動的に機械翻訳されています。免責事項
이 콘텐츠는 동적으로 기계 번역되었습니다. 책임 부인
Este texto foi traduzido automaticamente. (Aviso legal)
Questo contenuto è stato tradotto dinamicamente con traduzione automatica.(Esclusione di responsabilità))
This article has been machine translated.
Dieser Artikel wurde maschinell übersetzt. (Haftungsausschluss)
Ce article a été traduit automatiquement. (Clause de non responsabilité)
Este artículo ha sido traducido automáticamente. (Aviso legal)
この記事は機械翻訳されています.免責事項
이 기사는 기계 번역되었습니다.책임 부인
Este artigo foi traduzido automaticamente.(Aviso legal)
这篇文章已经过机器翻译.放弃
Questo articolo è stato tradotto automaticamente.(Esclusione di responsabilità))
Translation failed!
Provision target devices in untrusted domain using API PowerShell commands
You can provision target devices in an untrusted domain using Citrix Provisioning API PowerShell commands. Add the parameter DomainCredentials
to the provisioning commands Start-PvsProvisionMachines
and Start-PvsProvisionXdMachines
.
The detailed steps are as follows:
-
Import Citrix Provisioning API PowerShell module.
Import-Module "C:\Program Files\Citrix\Provisioning Services\Citrix.ProvisioningServices.dll" <!--NeedCopy-->
-
Establish a connection to the Citrix Provisioning API server.
Set-PvsApiConnection -PvsServerAddress <server.domain> -PvsServerPort 54324 ` -Domain <domain> -Username <username> -Password <password> <!--NeedCopy-->
-
Input the credentials to create machine accounts in the untrusted domain.
$targetDeviceDomainCredentials = Get-Credential <!--NeedCopy-->
-
Run
Start-PvsProvisionXdMachines
orStart-PvsProvisionMachines
with theDomainCredentials
parameter to provision target devices.Note:
Run
Start-PvsProvisionXdMachines
if you want to provision VMs for XenDesktop in the specified XenDesktop machine catalog.-
Provision XenDesktop machines: Example:
$provisionMachinesId = Start-PvsProvisionXdMachines ` -DdcAddress <your-ddc-address>` -BootType <your-boot-type> ` -CatalogName <your-catalog-name> ` -CatalogDescription <your-catalog-description> ` -SessionSupport <your-session-support> ` -AllocationType <your-allocation-type> ` -PersistUserChanges <your-persist-user-changes> ` -Scope <your-scope>` -VdaLevel <your-vda-level> ` -XenDesktopHostResource <your-xd-host-resource> ` -HostResourcePassword <your-host-resource-passsword> ` -TemplateName <your-template-name> ` -NetworkPath <your-network-path> ` -StoreId <your-store-id> ` -SiteId <your-site-id> ` -DiskLocatorId <your-disk-locator-id>` -Domain <target-device-domain> ` -OrganizationalUnit <target-device-ou> ` -NamingScheme <your-naming-scheme> ` -VmCount <vm-count> ` -DeviceMemory <device-memory-size> ` -DeviceCpu <device-cpu-count> ` -DeviceWriteCacheSize <device-write-cache-size> ` -NameSuffixType <your-name-suffix-type> ` -CitrixCloud: <is-Citrix-Cloud> ` -DomainCredentials $targetDeviceDomainCredentials <!--NeedCopy-->
-
Provision VMs:
$provisionMachinesId = Start-PvsProvisionMachines ` -HostType <your-host-type> ` -HostAddress <your-host-address> ` -HostUsername <your-host-user-name> ` -HostPassword <your-host-password> ` -TemplateName <your-template-name> ` -StoreId <your-PVS-store-id> ` -SiteId <your-PVS-site-id> ` -CollectionId <your-collection-id> ` -DiskLocatorId <your-disk-locator-id> ` -Domain <target-device-domain> ` -OrganizationalUnit <target-device-ou>` -NamingScheme <your-naming-scheme> ` -VmCount <vm-count> ` -DeviceMemory <device-memory-size> ` -DeviceCpu <device-cpu-count> ` -NameSuffixType <your-name-suffix-type> ` -DomainCredentials $targetDeviceDomainCredentials <!--NeedCopy-->
-
-
Query the provisioning status repeatedly until the provisioning job is complete.
Get-PvsProvisioningStatus -ProvisionMachinesConnectionId $provisionMachinesId <!--NeedCopy-->
When provisioning of target devices in an untrusted domain is complete, you get the following output:
Cancelled : False CurrentVmPercentComplete : 100 ErrorOccurred : False Message : Machine Provisioning Complete! OverallPercentComplete : 100 <!--NeedCopy-->
Share
Share
In this article
This Preview product documentation is Citrix Confidential.
You agree to hold this documentation confidential pursuant to the terms of your Citrix Beta/Tech Preview Agreement.
The development, release and timing of any features or functionality described in the Preview documentation remains at our sole discretion and are subject to change without notice or consultation.
The documentation is for informational purposes only and is not a commitment, promise or legal obligation to deliver any material, code or functionality and should not be relied upon in making Citrix product purchase decisions.
If you do not agree, select I DO NOT AGREE to exit.