Get-ProvSchemeVersion
Introduced in: Citrix Virtual Apps and Desktop 7 2311
Gets saved provisioning scheme configuration versions
Syntax
Get-ProvSchemeVersion
[-ProvisioningSchemeName] <String>
[-Version <Int32>]
[-ReturnTotalRecordCount]
[-MaxRecordCount <Int32>]
[-Skip <Int32>]
[-SortBy <String>]
[-Filter <String>]
[-FilterScope <Guid>]
[<CitrixCommonParameters>]
[<CommonParameters>]
Get-ProvSchemeVersion
[-ProvisioningSchemeUid] <Guid>
[-Version <Int32>]
[-ReturnTotalRecordCount]
[-MaxRecordCount <Int32>]
[-Skip <Int32>]
[-SortBy <String>]
[-Filter <String>]
[-FilterScope <Guid>]
[<CitrixCommonParameters>]
[<CommonParameters>]
Description
Provides the ability to list saved provisioning scheme configuration versions.
Examples
EXAMPLE 1
Configurations are listed for provisioning scheme AzureCatalog
Get-ProvSchemeVersion -ProvisioningSchemeName AzureCatalog
CpuCount : 2
CustomProperties :
MachineProfile : machineprofile.folder\matspo.resourcegroup\matspo-vm.templatespec\hibernate-2nic-fix.templatespecversion
MemoryInMB : 14336
NetworkMaps : {0, 1}
ProvisioningSchemeName : AzureCatalog
ProvisioningSchemeUid : 5b37b311-fa3f-49dd-b93b-661b9e6fa571
SecurityGroups : {}
ServiceOffering : serviceoffering.folder\Standard_D2s_v5.serviceoffering
VMMetadata : {, , , ...}
Version : 2
CpuCount : 2
CustomProperties :
MachineProfile : machineprofile.folder\matspo.resourcegroup\matspo-vm.templatespec\hibernate-2nic-fix.templatespecversion
MemoryInMB : 14336
NetworkMaps : {0, 1}
ProvisioningSchemeName : AzureCatalog
ProvisioningSchemeUid : 5b37b311-fa3f-49dd-b93b-661b9e6fa571
SecurityGroups : {}
ServiceOffering : serviceoffering.folder\Standard_D2s_v5.serviceoffering
VMMetadata : {, , , ...}
Version : 1
EXAMPLE 2
Version 2 is listed for provisioning scheme AzureCatalog
Get-ProvSchemeVersion -ProvisioningSchemeName AzureCatalog -Version 2
CpuCount : 2
CustomProperties :
MachineProfile : machineprofile.folder\matspo.resourcegroup\matspo-vm.templatespec\hibernate-2nic-fix.templatespecversion
MemoryInMB : 14336
NetworkMaps : {0, 1}
ProvisioningSchemeName : AzureCatalog
ProvisioningSchemeUid : 5b37b311-fa3f-49dd-b93b-661b9e6fa571
SecurityGroups : {}
ServiceOffering : serviceoffering.folder\Standard_D2s_v5.serviceoffering
VMMetadata : {, , , ...}
Version : 2
Parameters
-ProvisioningSchemeUid
Filter by the unique identifier of the provisioning scheme.
| Type: | Guid |
| Position: | 1 |
| Default value: | None |
| Required: | True |
| Accept pipeline input: | False |
| Accept wildcard characters: | True |
-ProvisioningSchemeName
Filter by the name of the provisioning scheme.
| Type: | String |
| Position: | 1 |
| Default value: | None |
| Required: | True |
| Accept pipeline input: | False |
| Accept wildcard characters: | True |
-Version
Filter by the version of the provisioning scheme
| Type: | Int32 |
| Position: | Named |
| Default value: | None |
| Required: | False |
| Accept pipeline input: | False |
| Accept wildcard characters: | True |
-ReturnTotalRecordCount
See about_Prov_Filtering for details.
| Type: | SwitchParameter |
| Position: | Named |
| Default value: | False |
| Required: | False |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
-MaxRecordCount
See about_Prov_Filtering for details.
| Type: | Int32 |
| Position: | Named |
| Default value: | False |
| Required: | False |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
-Skip
See about_Prov_Filtering for details.
| Type: | Int32 |
| Position: | Named |
| Default value: | 0 |
| Required: | False |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
-SortBy
See about_Prov_Filtering for details.
| Type: | String |
| Position: | Named |
| Default value: | None |
| Required: | False |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
-Filter
See about_Prov_Filtering for details.
| Type: | String |
| Position: | Named |
| Default value: | None |
| Required: | False |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
-FilterScope
Gets only results allowed by the specified scope id.
| 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
Citrix.MachineCreation.Sdk.ProvisioningSchemeVersion
The object has the following properties:
Version \<int\>
The current version of the configuration
CpuCount \<int\>
The number of processors allocated to VMs in the provisioning scheme.
MemoryInMB \<int\>
The maximum amount of memory allocated to VMs in the provisioning scheme.
CustomProperties \<string\>
Properties of the provisioning scheme which that are specific to the target hosting infrastructure. (See about_Prov_CustomProperties)
ServiceOffering \<string\>
The service offering that the scheme uses when creating VMs in cloud hypervisors.
MachineProfile \<string\>
The inventory path to the source VM used by the provisioning scheme as a template.
VMMetadata \<char\[\]\>
The metadata that will be used to created VMs in a plain text format.
ProvisioningSchemeName \<string\>
The name of the provisioning scheme associated with the VM.
ProvisioningSchemeUid \<Guid\>
The unique identifier of the provisioning scheme associated with the VM.
NetworkMaps \<Citrix.MachineCreation.Sdk.NetworkMap\[\]\>
The NIC/network mappings that will be used to create VMs.
SecurityGroups \<string\[\]\>
The security groups that will be applied to machines created in Cloud Hypervisors.