-
-
-
-
-
-
-
-
-
-
-
Get-ProvVM
-
-
-
-
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!
Get-Provvm
Gets the VMs that were created using Citrix XenDesktop Machine Creation Services.
Syntax
Get-ProvVM [[-ProvisioningSchemeName] <String>] [-ProvisioningSchemeUid <Guid>] [-VMName <String>] [-Locked <Boolean>] [-Tag <String>] [-OutOfDate] [-ReturnTotalRecordCount] [-MaxRecordCount <Int32>] [-Skip <Int32>] [-SortBy <String>] [-Filter <String>] [-BearerToken <String>] [-AdminAddress <String>] [<CommonParameters>]
<!--NeedCopy-->
Detailed Description
Provides the ability to obtain a list of the VMs that were created using Machine Creation Services.
Related Commands
Parameters
Name | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|
ProvisioningSchemeName | The name of the provisioning scheme. | false | false | |
ProvisioningSchemeUid | The unique identifier of the provisioning scheme. | false | false | |
VMName | The name of the VM in the hypervisor context. | false | false | |
Locked | Indicates whether only VMs that are marked as locked are returned or not (see Lock-ProvVM and Unlock-ProvVM for details). | false | false | |
Tag | The tag string that was associated with the VM when it was locked. | false | false | |
OutOfDate | Indicates that the image currently assigned to the VM is out of date. The image will be updated the next time the VM is restarted. | false | false | |
ReturnTotalRecordCount | See about_Prov_Filtering for details. | false | false | false |
MaxRecordCount | See about_Prov_Filtering for details. | false | false | false |
Skip | See about_Prov_Filtering for details. | false | false | 0 |
SortBy | See about_Prov_Filtering for details. | false | false | |
Filter | See about_Prov_Filtering for details. | false | false | |
BearerToken | Specifies the bearer token assigned to the calling user | false | false | |
AdminAddress | Specifies the address of a XenDesktop controller that the PowerShell snap-in connects 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
Citrix.Machinecreation.Sdk.Provisionedvirtualmachine
The Object Has The Following Properties:
Adaccountsid <String>
The Sid Of The Ad Computer Account That The Vm Is Using.
Adaccountname <String>
The Name Of The Ad Computer Account That The Vm Is Using.
Cpucount <Int>
The Number Of Processors That The Vm Has Been Allocated.
Creationdate <Datetime>
The Date And Time That The Vm Was Created.
Domain <String>
The Domain Of The Ad Computer Account That The Vm Is Using.
Imageoutofdate <Boolean>
Indicates If The Image Will Be Updated Next Time The Vm Is Started.
Lock <Boolean>
Indicates Whether The Vm Is Locked Or Not.
Memorymb <Int>
The Maximum Amount Of Memory That Vms Will Be Created With When Using This Scheme.
Provisioningschemename <String>
The Name Of The Provisioning Scheme That The Vm Is Part Of.
Provisioningschemeuid <Guid>
The Unique Identifier For The Provisioning Scheme That The Vm Is Part Of.
Tag <String>
Provides The String Associated With A Locked Vm.
Vmid <String>
The Identifier For The Vm (Hypervisor Context).
Vmname <String>
The Name Of The Vm (Hypervisor Context).
Assignedimage <String>
The Identifier (In The Hypervisor) For The Hard Disk Image That The Vm Is Currently Assigned.
Bootedimage <String>
The Identifier (In The Hypervisor) For The Hard Disk Image With Which The Vm Is Currently Started.
Hostingunituid <Guid>
The Unique Identifier For The Hosting Unit That Was Used To Create The Vm.
Hypervisorconnectionuid <Guid>
The Unique Identifier Of The Hypervisor Connection That Was Used To Create The Vm.
Lastboottime <Datetime>
The Date And Time Of The Last Start Of The Vm.
Osdiskindex <Int>
The Disk Index At Which The Hard Disk Image, From Which The Vm Is Currently Started, Is Attached (Or [Int]::Minvalue For Vms Inherited From Versions Of Xendesktop Before 5.6)
Personalvdiskindex <Int>
The Disk Index At Which The Personal Vdisk Is Attached (Defaults To [Int]::Minvalue For Vms Without A Personal Vdisk)
Personalvdiskstorage <String>
The Identifier (In The Hypervisor) For The Storage On Which The Personal Virtual Disk Image From Which The Vm Is Currently Started Is Located. This Is Set Only If The Vm Has A Personal Vdisk Attached
Storageid <String>
The Identifier (In The Hypervisor) For The Storage On Which The Hard Disk Image, From Which The Vm Is Currently Started, Is Located.
Notes
In the case of failure, the following errors can result.
Error Codes
———–
PartialData
Only a subset of the available data was returned.
CouldNotQueryDatabase
The query required to get the database was not defined.
PermissionDenied
The user does not have administrative rights to perform this operation.
ConfigurationLoggingError
The operation could not be performed because of a configuration logging error
CommunicationError
An error occurred while communicating with the service.
DatabaseNotConfigured
The operation could not be completed because the database for the service is not configured.
InvalidFilter
A filtering expression was supplied that could not be interpreted for this cmdlet.
ExceptionThrown
An unexpected error occurred. To locate more details, see the Windows event logs on the controller being used or examine the XenDesktop logs.
Examples
Example 1
C:\PS>Get-ProvVM -provisioningSchemeName MyScheme
ADAccountName : MYDomain\computer2$
ADAccountSid : S-1-5-21-3751941309-1176885247-1409628468-3179
CpuCount : 1
CreationDate : 17/05/2012 09:35:22
Domain : steve.dum.local
ImageOutOfDate : False
Lock : True
MemoryMB : 512
ProvisioningSchemeName : XenPS
ProvisioningSchemeUid : 5135a865-ba49-4e5f-87f2-2d65ee7a4e51
Tag : Brokered
VMId : a830de93-ddc5-b763-dc1a-35580a31401c
VMName : IP0051
AssignedImage : 57fc60c3-eb9b-4d38-8646-0afceec85335
BootedImage : 57fc60c3-eb9b-4d38-8646-0afceec85335
HostingUnitUid : ea17840f-cf2d-4d80-94e0-3b752b32e0af
HypervisorConnectionUid : 99f9f826-31fc-4453-8ca0-9ba54306c3ac
IdentityDiskIndex : 1
LastBootTime : 17/05/2012 09:35:22
OSDiskIndex : 0
PersonalVDiskIndex : -2147483648
PersonalVDiskStorage :
StorageId : 33ad07a7-edd7-589b-716a-86cad4739f5e
<!--NeedCopy-->
Description
Gets all the Virtual Machines that were provisioned into the Provisioning Scheme called ‘MyScheme’.
Example 2
C:\PS>Get-ProvVM -Locked $true
ADAccountName : MYDomain\computer1$
ADAccountSid : S-1-5-21-3751941309-1176885247-1409628468-3178
CpuCount : 1
CreationDate : 17/05/2012 09:35:30
Domain : steve.dum.local
ImageOutOfDate : False
Lock : True
MemoryMB : 512
ProvisioningSchemeName : XenPS
ProvisioningSchemeUid : 5135a865-ba49-4e5f-87f2-2d65ee7a4e51
Tag : Brokered
VMId : a830de93-ddc5-b763-dc1a-35580a31401c
VMName : IP0051
AssignedImage : 57fc60c3-eb9b-4d38-8646-0afceec85335
BootedImage : 57fc60c3-eb9b-4d38-8646-0afceec85335
HostingUnitUid : ea17840f-cf2d-4d80-94e0-3b752b32e0af
HypervisorConnectionUid : 99f9f826-31fc-4453-8ca0-9ba54306c3ac
IdentityDiskIndex : 1
LastBootTime : 17/05/2012 09:35:22
OSDiskIndex : 0
PersonalVDiskIndex : -2147483648
PersonalVDiskStorage :
StorageId : 33ad07a7-edd7-589b-716a-86cad4739f5e
<!--NeedCopy-->
Description
Gets all the Virtual Machines that were locked, regardless of which Provisioning Scheme the VM is part of.
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.