Merge pull request #86 from praveenmathamsetty/master
7.1 release update for horizon module
This commit is contained in:
@@ -0,0 +1,98 @@
|
|||||||
|
{
|
||||||
|
"Type": "AUTOMATED",
|
||||||
|
"Data": {
|
||||||
|
"Name": "ICFarmJson",
|
||||||
|
"DisplayName": "FarmJsonTest",
|
||||||
|
"AccessGroup": "Root",
|
||||||
|
"Description": "created IC Farm from PS via JSON",
|
||||||
|
"Enabled": null,
|
||||||
|
"Deleting": false,
|
||||||
|
"Settings": {
|
||||||
|
"DisconnectedSessionTimeoutPolicy" : "NEVER",
|
||||||
|
"DisconnectedSessionTimeoutMinutes" : 1,
|
||||||
|
"EmptySessionTimeoutPolicy" : "AFTER",
|
||||||
|
"EmptySessionTimeoutMinutes" : 1,
|
||||||
|
"LogoffAfterTimeout" : false
|
||||||
|
},
|
||||||
|
"Desktop": null,
|
||||||
|
"DisplayProtocolSettings": {
|
||||||
|
"DefaultDisplayProtocol" : "PCOIP",
|
||||||
|
"AllowDisplayProtocolOverride" : false,
|
||||||
|
"EnableHTMLAccess" : false
|
||||||
|
},
|
||||||
|
"ServerErrorThreshold": null,
|
||||||
|
"MirageConfigurationOverrides": {
|
||||||
|
"OverrideGlobalSetting" : false,
|
||||||
|
"Enabled" : false,
|
||||||
|
"Url" : null
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"AutomatedFarmSpec": {
|
||||||
|
"ProvisioningType": "INSTANT_CLONE_ENGINE",
|
||||||
|
"VirtualCenter": null,
|
||||||
|
"RdsServerNamingSpec": {
|
||||||
|
"NamingMethod": "PATTERN",
|
||||||
|
"PatternNamingSettings": {
|
||||||
|
"NamingPattern": "ICFarmVMPS",
|
||||||
|
"MaxNumberOfRDSServers": 1
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"VirtualCenterProvisioningSettings": {
|
||||||
|
"EnableProvisioning": true,
|
||||||
|
"StopProvisioningOnError": true,
|
||||||
|
"MinReadyVMsOnVComposerMaintenance": 0,
|
||||||
|
"VirtualCenterProvisioningData": {
|
||||||
|
"ParentVm": "vm-rdsh-ic",
|
||||||
|
"Snapshot": "snap_5",
|
||||||
|
"Datacenter": null,
|
||||||
|
"VmFolder": "Instant_Clone_VMs",
|
||||||
|
"HostOrCluster": "vimal-cluster",
|
||||||
|
"ResourcePool": "vimal-cluster"
|
||||||
|
},
|
||||||
|
"VirtualCenterStorageSettings": {
|
||||||
|
"Datastores": [
|
||||||
|
{
|
||||||
|
"Datastore": "Datastore1",
|
||||||
|
"StorageOvercommit": "UNBOUNDED"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"UseVSan": false,
|
||||||
|
"ViewComposerStorageSettings": {
|
||||||
|
"UseSeparateDatastoresReplicaAndOSDisks": false,
|
||||||
|
"ReplicaDiskDatastore": null,
|
||||||
|
"UseNativeSnapshots": false,
|
||||||
|
"SpaceReclamationSettings": {
|
||||||
|
"ReclaimVmDiskSpace": false,
|
||||||
|
"ReclamationThresholdGB": null,
|
||||||
|
"BlackoutTimes": null
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"VirtualCenterNetworkingSettings": {
|
||||||
|
"Nics": null
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"VirtualCenterManagedCommonSettings": {
|
||||||
|
"TransparentPageSharingScope": "VM"
|
||||||
|
},
|
||||||
|
"CustomizationSettings": {
|
||||||
|
"CustomizationType": "CLONE_PREP",
|
||||||
|
"DomainAdministrator": null,
|
||||||
|
"AdContainer": "CN=Computers",
|
||||||
|
"ReusePreExistingAccounts": false,
|
||||||
|
"ClonePrepCustomizationSettings": {
|
||||||
|
"InstantCloneEngineDomainAdministrator": null,
|
||||||
|
"PowerOffScriptName": null,
|
||||||
|
"PowerOffScriptParameters": null,
|
||||||
|
"PostSynchronizationScriptName": null,
|
||||||
|
"PostSynchronizationScriptParameters": null
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"RdsServerMaxSessionsData": {
|
||||||
|
"MaxSessionsType": "UNLIMITED",
|
||||||
|
"MaxSessions": null
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ManualFarmSpec": null,
|
||||||
|
"NetBiosName" : "ad-vimalg"
|
||||||
|
}
|
||||||
@@ -1,17 +1,31 @@
|
|||||||
{
|
{
|
||||||
"Type": "AUTOMATED",
|
"Type": "AUTOMATED",
|
||||||
"Data": {
|
"Data": {
|
||||||
"Name": "LCFarmTest",
|
"Name": "LCFarmJson",
|
||||||
"DisplayName": "Ankit LC Farm Test",
|
"DisplayName": "FarmJsonTest",
|
||||||
"AccessGroup": "Root",
|
"AccessGroup": "Root",
|
||||||
"Description": "created LC Farm from PS",
|
"Description": "created LC Farm from PS via JSON",
|
||||||
"Enabled": null,
|
"Enabled": null,
|
||||||
"Deleting": false,
|
"Deleting": false,
|
||||||
"Settings": null,
|
"Settings": {
|
||||||
|
"DisconnectedSessionTimeoutPolicy" : "NEVER",
|
||||||
|
"DisconnectedSessionTimeoutMinutes" : 1,
|
||||||
|
"EmptySessionTimeoutPolicy" : "AFTER",
|
||||||
|
"EmptySessionTimeoutMinutes" : 1,
|
||||||
|
"LogoffAfterTimeout" : false
|
||||||
|
},
|
||||||
"Desktop": null,
|
"Desktop": null,
|
||||||
"DisplayProtocolSettings": null,
|
"DisplayProtocolSettings": {
|
||||||
|
"DefaultDisplayProtocol" : "PCOIP",
|
||||||
|
"AllowDisplayProtocolOverride" : false,
|
||||||
|
"EnableHTMLAccess" : false
|
||||||
|
},
|
||||||
"ServerErrorThreshold": null,
|
"ServerErrorThreshold": null,
|
||||||
"MirageConfigurationOverrides": null
|
"MirageConfigurationOverrides": {
|
||||||
|
"OverrideGlobalSetting" : false,
|
||||||
|
"Enabled" : false,
|
||||||
|
"Url" : null
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"AutomatedFarmSpec": {
|
"AutomatedFarmSpec": {
|
||||||
"ProvisioningType": "VIEW_COMPOSER",
|
"ProvisioningType": "VIEW_COMPOSER",
|
||||||
@@ -19,7 +33,7 @@
|
|||||||
"RdsServerNamingSpec": {
|
"RdsServerNamingSpec": {
|
||||||
"NamingMethod": "PATTERN",
|
"NamingMethod": "PATTERN",
|
||||||
"PatternNamingSettings": {
|
"PatternNamingSettings": {
|
||||||
"NamingPattern": "LCFarmVM_PS",
|
"NamingPattern": "LCFarmVMPS",
|
||||||
"MaxNumberOfRDSServers": 1
|
"MaxNumberOfRDSServers": 1
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -28,17 +42,17 @@
|
|||||||
"StopProvisioningOnError": true,
|
"StopProvisioningOnError": true,
|
||||||
"MinReadyVMsOnVComposerMaintenance": 0,
|
"MinReadyVMsOnVComposerMaintenance": 0,
|
||||||
"VirtualCenterProvisioningData": {
|
"VirtualCenterProvisioningData": {
|
||||||
"ParentVm": "Win_Server_2012_R2",
|
"ParentVm": "RDSServer",
|
||||||
"Snapshot": "Snap_RDS",
|
"Snapshot": "RDS_SNAP1",
|
||||||
"Datacenter": null,
|
"Datacenter": null,
|
||||||
"VmFolder": "AnkitPoolVM",
|
"VmFolder": "Praveen",
|
||||||
"HostOrCluster": "cls",
|
"HostOrCluster": "CS-1",
|
||||||
"ResourcePool": "cls"
|
"ResourcePool": "CS-1"
|
||||||
},
|
},
|
||||||
"VirtualCenterStorageSettings": {
|
"VirtualCenterStorageSettings": {
|
||||||
"Datastores": [
|
"Datastores": [
|
||||||
{
|
{
|
||||||
"Datastore": "datastore1 (5)",
|
"Datastore": "Datastore1",
|
||||||
"StorageOvercommit": "UNBOUNDED"
|
"StorageOvercommit": "UNBOUNDED"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@@ -67,7 +81,7 @@
|
|||||||
"AdContainer": "CN=Computers",
|
"AdContainer": "CN=Computers",
|
||||||
"ReusePreExistingAccounts": false,
|
"ReusePreExistingAccounts": false,
|
||||||
"SysprepCustomizationSettings": {
|
"SysprepCustomizationSettings": {
|
||||||
"CustomizationSpec": "RDSH_Cust2"
|
"CustomizationSpec": "PraveenCust"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"RdsServerMaxSessionsData": {
|
"RdsServerMaxSessionsData": {
|
||||||
@@ -76,5 +90,5 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ManualFarmSpec": null,
|
"ManualFarmSpec": null,
|
||||||
"NetBiosName" : "adankit"
|
"NetBiosName" : "adviewdev"
|
||||||
}
|
}
|
||||||
@@ -7,17 +7,31 @@
|
|||||||
"Description": "Manual PS Test",
|
"Description": "Manual PS Test",
|
||||||
"Enabled": null,
|
"Enabled": null,
|
||||||
"Deleting": false,
|
"Deleting": false,
|
||||||
"Settings": null,
|
"Settings": {
|
||||||
|
"DisconnectedSessionTimeoutPolicy" : "NEVER",
|
||||||
|
"DisconnectedSessionTimeoutMinutes" : 1,
|
||||||
|
"EmptySessionTimeoutPolicy" : "AFTER",
|
||||||
|
"EmptySessionTimeoutMinutes" : 1,
|
||||||
|
"LogoffAfterTimeout" : false
|
||||||
|
},
|
||||||
"Desktop": null,
|
"Desktop": null,
|
||||||
"DisplayProtocolSettings": null,
|
"DisplayProtocolSettings": {
|
||||||
|
"DefaultDisplayProtocol" : "PCOIP",
|
||||||
|
"AllowDisplayProtocolOverride" : false,
|
||||||
|
"EnableHTMLAccess" : false
|
||||||
|
},
|
||||||
"ServerErrorThreshold": null,
|
"ServerErrorThreshold": null,
|
||||||
"MirageConfigurationOverrides": null
|
"MirageConfigurationOverrides": {
|
||||||
|
"OverrideGlobalSetting" : false,
|
||||||
|
"Enabled" : false,
|
||||||
|
"Url" : null
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"AutomatedFarmSpec": null,
|
"AutomatedFarmSpec": null,
|
||||||
"ManualFarmSpec": {
|
"ManualFarmSpec": {
|
||||||
"RdsServers": [
|
"RdsServers": [
|
||||||
{
|
{
|
||||||
"rdsServer": "WIN-ORKA1Q8B0P7"
|
"rdsServer": "RDSServer.adviewdev.eng.vmware.com"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -5,7 +5,44 @@
|
|||||||
"AccessGroup": "Root",
|
"AccessGroup": "Root",
|
||||||
"Description": "create full clone via JSON"
|
"Description": "create full clone via JSON"
|
||||||
},
|
},
|
||||||
"DesktopSettings": null,
|
"DesktopSettings": {
|
||||||
|
"enabled": true,
|
||||||
|
"deleting": false,
|
||||||
|
"connectionServerRestrictions": null,
|
||||||
|
"logoffSettings": {
|
||||||
|
"powerPolicy": "TAKE_NO_POWER_ACTION",
|
||||||
|
"automaticLogoffPolicy": "NEVER",
|
||||||
|
"automaticLogoffMinutes": 120,
|
||||||
|
"allowUsersToResetMachines": false,
|
||||||
|
"allowMultipleSessionsPerUser": false,
|
||||||
|
"deleteOrRefreshMachineAfterLogoff": "NEVER",
|
||||||
|
"refreshOsDiskAfterLogoff": "NEVER",
|
||||||
|
"refreshPeriodDaysForReplicaOsDisk": 5,
|
||||||
|
"refreshThresholdPercentageForReplicaOsDisk": 10
|
||||||
|
},
|
||||||
|
"displayProtocolSettings": {
|
||||||
|
"supportedDisplayProtocols": ["PCOIP", "BLAST" ],
|
||||||
|
"defaultDisplayProtocol": "BLAST",
|
||||||
|
"allowUsersToChooseProtocol": true,
|
||||||
|
"pcoipDisplaySettings": {
|
||||||
|
"renderer3D": "DISABLED",
|
||||||
|
"enableGRIDvGPUs": false,
|
||||||
|
"vRamSizeMB": 96,
|
||||||
|
"maxNumberOfMonitors": 3,
|
||||||
|
"maxResolutionOfAnyOneMonitor": "WSXGA_PLUS"
|
||||||
|
},
|
||||||
|
"enableHTMLAccess": true
|
||||||
|
},
|
||||||
|
"flashSettings": {
|
||||||
|
"quality": "NO_CONTROL",
|
||||||
|
"throttling": "DISABLED"
|
||||||
|
},
|
||||||
|
"mirageConfigurationOverrides": {
|
||||||
|
"overrideGlobalSetting": false,
|
||||||
|
"enabled": false,
|
||||||
|
"url": false
|
||||||
|
}
|
||||||
|
},
|
||||||
"Type": "AUTOMATED",
|
"Type": "AUTOMATED",
|
||||||
"AutomatedDesktopSpec": {
|
"AutomatedDesktopSpec": {
|
||||||
"ProvisioningType": "VIRTUAL_CENTER",
|
"ProvisioningType": "VIRTUAL_CENTER",
|
||||||
@@ -69,7 +106,7 @@
|
|||||||
"NoCustomizationSettings": {
|
"NoCustomizationSettings": {
|
||||||
"DoNotPowerOnVMsAfterCreation": false
|
"DoNotPowerOnVMsAfterCreation": false
|
||||||
},
|
},
|
||||||
"SysprepCustomizationSettings": null,
|
"SysprepCustomizationSettings": {"customizationSpec" : "praveencust"},
|
||||||
"QuickprepCustomizationSettings": null,
|
"QuickprepCustomizationSettings": null,
|
||||||
"CloneprepCustomizationSettings": null
|
"CloneprepCustomizationSettings": null
|
||||||
}
|
}
|
||||||
@@ -77,6 +114,5 @@
|
|||||||
"ManualDesktopSpec": null,
|
"ManualDesktopSpec": null,
|
||||||
"RdsDesktopSpec": null,
|
"RdsDesktopSpec": null,
|
||||||
"GlobalEntitlementData": null,
|
"GlobalEntitlementData": null,
|
||||||
"NetBiosName" : "adviewdev",
|
"NetBiosName" : "adviewdev"
|
||||||
"SysPrepName" : "praveencust"
|
|
||||||
}
|
}
|
||||||
@@ -5,7 +5,44 @@
|
|||||||
"AccessGroup": "ROOT",
|
"AccessGroup": "ROOT",
|
||||||
"Description": "create instant pool"
|
"Description": "create instant pool"
|
||||||
},
|
},
|
||||||
"DesktopSettings": null,
|
"DesktopSettings": {
|
||||||
|
"enabled": true,
|
||||||
|
"deleting": false,
|
||||||
|
"connectionServerRestrictions": null,
|
||||||
|
"logoffSettings": {
|
||||||
|
"powerPolicy": "ALWAYS_POWERED_ON",
|
||||||
|
"automaticLogoffPolicy": "NEVER",
|
||||||
|
"automaticLogoffMinutes": 120,
|
||||||
|
"allowUsersToResetMachines": false,
|
||||||
|
"allowMultipleSessionsPerUser": false,
|
||||||
|
"deleteOrRefreshMachineAfterLogoff": "DELETE",
|
||||||
|
"refreshOsDiskAfterLogoff": "NEVER",
|
||||||
|
"refreshPeriodDaysForReplicaOsDisk": 5,
|
||||||
|
"refreshThresholdPercentageForReplicaOsDisk": 10
|
||||||
|
},
|
||||||
|
"displayProtocolSettings": {
|
||||||
|
"supportedDisplayProtocols": ["PCOIP", "BLAST" ],
|
||||||
|
"defaultDisplayProtocol": "BLAST",
|
||||||
|
"allowUsersToChooseProtocol": true,
|
||||||
|
"pcoipDisplaySettings": {
|
||||||
|
"renderer3D": "DISABLED",
|
||||||
|
"enableGRIDvGPUs": false,
|
||||||
|
"vRamSizeMB": 96,
|
||||||
|
"maxNumberOfMonitors": 3,
|
||||||
|
"maxResolutionOfAnyOneMonitor": "WSXGA_PLUS"
|
||||||
|
},
|
||||||
|
"enableHTMLAccess": true
|
||||||
|
},
|
||||||
|
"flashSettings": {
|
||||||
|
"quality": "NO_CONTROL",
|
||||||
|
"throttling": "DISABLED"
|
||||||
|
},
|
||||||
|
"mirageConfigurationOverrides": {
|
||||||
|
"overrideGlobalSetting": false,
|
||||||
|
"enabled": false,
|
||||||
|
"url": false
|
||||||
|
}
|
||||||
|
},
|
||||||
"Type": "AUTOMATED",
|
"Type": "AUTOMATED",
|
||||||
"AutomatedDesktopSpec": {
|
"AutomatedDesktopSpec": {
|
||||||
"ProvisioningType": "INSTANT_CLONE_ENGINE",
|
"ProvisioningType": "INSTANT_CLONE_ENGINE",
|
||||||
@@ -5,7 +5,44 @@
|
|||||||
"AccessGroup": "Root",
|
"AccessGroup": "Root",
|
||||||
"Description": "created linkedclone pool from ps"
|
"Description": "created linkedclone pool from ps"
|
||||||
},
|
},
|
||||||
"DesktopSettings": null,
|
"DesktopSettings": {
|
||||||
|
"enabled": true,
|
||||||
|
"deleting": false,
|
||||||
|
"connectionServerRestrictions": null,
|
||||||
|
"logoffSettings": {
|
||||||
|
"powerPolicy": "TAKE_NO_POWER_ACTION",
|
||||||
|
"automaticLogoffPolicy": "NEVER",
|
||||||
|
"automaticLogoffMinutes": 120,
|
||||||
|
"allowUsersToResetMachines": false,
|
||||||
|
"allowMultipleSessionsPerUser": false,
|
||||||
|
"deleteOrRefreshMachineAfterLogoff": "NEVER",
|
||||||
|
"refreshOsDiskAfterLogoff": "NEVER",
|
||||||
|
"refreshPeriodDaysForReplicaOsDisk": 5,
|
||||||
|
"refreshThresholdPercentageForReplicaOsDisk": 10
|
||||||
|
},
|
||||||
|
"displayProtocolSettings": {
|
||||||
|
"supportedDisplayProtocols": ["RDP","PCOIP", "BLAST" ],
|
||||||
|
"defaultDisplayProtocol": "PCOIP",
|
||||||
|
"allowUsersToChooseProtocol": true,
|
||||||
|
"pcoipDisplaySettings": {
|
||||||
|
"renderer3D": "DISABLED",
|
||||||
|
"enableGRIDvGPUs": false,
|
||||||
|
"vRamSizeMB": 96,
|
||||||
|
"maxNumberOfMonitors": 3,
|
||||||
|
"maxResolutionOfAnyOneMonitor": "WSXGA_PLUS"
|
||||||
|
},
|
||||||
|
"enableHTMLAccess": true
|
||||||
|
},
|
||||||
|
"flashSettings": {
|
||||||
|
"quality": "NO_CONTROL",
|
||||||
|
"throttling": "DISABLED"
|
||||||
|
},
|
||||||
|
"mirageConfigurationOverrides": {
|
||||||
|
"overrideGlobalSetting": false,
|
||||||
|
"enabled": false,
|
||||||
|
"url": null
|
||||||
|
}
|
||||||
|
},
|
||||||
"Type": "AUTOMATED",
|
"Type": "AUTOMATED",
|
||||||
"AutomatedDesktopSpec": {
|
"AutomatedDesktopSpec": {
|
||||||
"ProvisioningType": "VIEW_COMPOSER",
|
"ProvisioningType": "VIEW_COMPOSER",
|
||||||
@@ -33,7 +70,7 @@
|
|||||||
"Template": null,
|
"Template": null,
|
||||||
"ParentVm": "Agent_pra",
|
"ParentVm": "Agent_pra",
|
||||||
"Snapshot": "kb-hotfix",
|
"Snapshot": "kb-hotfix",
|
||||||
"Datacenter": null,
|
"Datacenter": "Dev-Dc",
|
||||||
"VmFolder": "Praveen",
|
"VmFolder": "Praveen",
|
||||||
"HostOrCluster": "CS-1",
|
"HostOrCluster": "CS-1",
|
||||||
"ResourcePool": "CS-1"
|
"ResourcePool": "CS-1"
|
||||||
@@ -52,7 +89,8 @@
|
|||||||
"UseNativeSnapshots": false,
|
"UseNativeSnapshots": false,
|
||||||
"SpaceReclamationSettings": {
|
"SpaceReclamationSettings": {
|
||||||
"ReclaimVmDiskSpace": false,
|
"ReclaimVmDiskSpace": false,
|
||||||
"ReclamationThresholdGB": null
|
"ReclamationThresholdGB": null,
|
||||||
|
"BlackoutTimes" : null
|
||||||
},
|
},
|
||||||
"PersistentDiskSettings": {
|
"PersistentDiskSettings": {
|
||||||
"RedirectWindowsProfile": false,
|
"RedirectWindowsProfile": false,
|
||||||
@@ -75,19 +113,31 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"VirtualCenterNetworkingSettings": {
|
"VirtualCenterNetworkingSettings": {
|
||||||
"Nics": null
|
"Nics": [
|
||||||
|
{
|
||||||
|
"Nic": "nicName",
|
||||||
|
"NetworkLabelAssignmentSpecs": [
|
||||||
|
{
|
||||||
|
"Enabled" : false,
|
||||||
|
"networkLabel" : null,
|
||||||
|
"maxLabelType" : null,
|
||||||
|
"maxLabel" : null
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"VirtualCenterManagedCommonSettings": {
|
"VirtualCenterManagedCommonSettings": {
|
||||||
"TransparentPageSharingScope": "VM"
|
"TransparentPageSharingScope": "VM"
|
||||||
},
|
},
|
||||||
"CustomizationSettings": {
|
"CustomizationSettings": {
|
||||||
"CustomizationType": "QUICK_PREP",
|
"CustomizationType": "SYS_PREP",
|
||||||
"DomainAdministrator": null,
|
"DomainAdministrator": "administrator",
|
||||||
"AdContainer": "CN=Computers",
|
"AdContainer": "CN=Computers",
|
||||||
"ReusePreExistingAccounts": false,
|
"ReusePreExistingAccounts": false,
|
||||||
"NoCustomizationSettings": null,
|
"NoCustomizationSettings": null,
|
||||||
"SysprepCustomizationSettings": null,
|
"SysprepCustomizationSettings": {"customizationSpec" : "praveencust"},
|
||||||
"QuickprepCustomizationSettings": {
|
"QuickprepCustomizationSettings": {
|
||||||
"PowerOffScriptName": null,
|
"PowerOffScriptName": null,
|
||||||
"PowerOffScriptParameters": null,
|
"PowerOffScriptParameters": null,
|
||||||
@@ -99,7 +149,6 @@
|
|||||||
},
|
},
|
||||||
"ManualDesktopSpec": null,
|
"ManualDesktopSpec": null,
|
||||||
"RdsDesktopSpec": null,
|
"RdsDesktopSpec": null,
|
||||||
"GlobalEntitlementData": null,
|
"GlobalEntitlementData": null,
|
||||||
"NetBiosName" : "adviewdev",
|
"NetBiosName" : "adviewdev"
|
||||||
"SysPrepName" : "praveencust"
|
|
||||||
}
|
}
|
||||||
@@ -5,7 +5,44 @@
|
|||||||
"AccessGroup": "ROOT",
|
"AccessGroup": "ROOT",
|
||||||
"Description": "Manual pool creation"
|
"Description": "Manual pool creation"
|
||||||
},
|
},
|
||||||
"DesktopSettings": null,
|
"DesktopSettings": {
|
||||||
|
"enabled": true,
|
||||||
|
"deleting": false,
|
||||||
|
"connectionServerRestrictions": null,
|
||||||
|
"logoffSettings": {
|
||||||
|
"powerPolicy": "TAKE_NO_POWER_ACTION",
|
||||||
|
"automaticLogoffPolicy": "NEVER",
|
||||||
|
"automaticLogoffMinutes": 120,
|
||||||
|
"allowUsersToResetMachines": false,
|
||||||
|
"allowMultipleSessionsPerUser": false,
|
||||||
|
"deleteOrRefreshMachineAfterLogoff": "NEVER",
|
||||||
|
"refreshOsDiskAfterLogoff": "NEVER",
|
||||||
|
"refreshPeriodDaysForReplicaOsDisk": 5,
|
||||||
|
"refreshThresholdPercentageForReplicaOsDisk": 10
|
||||||
|
},
|
||||||
|
"displayProtocolSettings": {
|
||||||
|
"supportedDisplayProtocols": ["PCOIP", "BLAST" ],
|
||||||
|
"defaultDisplayProtocol": "BLAST",
|
||||||
|
"allowUsersToChooseProtocol": true,
|
||||||
|
"pcoipDisplaySettings": {
|
||||||
|
"renderer3D": "DISABLED",
|
||||||
|
"enableGRIDvGPUs": false,
|
||||||
|
"vRamSizeMB": 96,
|
||||||
|
"maxNumberOfMonitors": 3,
|
||||||
|
"maxResolutionOfAnyOneMonitor": "WSXGA_PLUS"
|
||||||
|
},
|
||||||
|
"enableHTMLAccess": true
|
||||||
|
},
|
||||||
|
"flashSettings": {
|
||||||
|
"quality": "NO_CONTROL",
|
||||||
|
"throttling": "DISABLED"
|
||||||
|
},
|
||||||
|
"mirageConfigurationOverrides": {
|
||||||
|
"overrideGlobalSetting": false,
|
||||||
|
"enabled": false,
|
||||||
|
"url": false
|
||||||
|
}
|
||||||
|
},
|
||||||
"Type": "MANUAL",
|
"Type": "MANUAL",
|
||||||
"AutomatedDesktopSpec": null,
|
"AutomatedDesktopSpec": null,
|
||||||
"ManualDesktopSpec": {
|
"ManualDesktopSpec": {
|
||||||
@@ -16,7 +53,7 @@
|
|||||||
"Source": "VIRTUAL_CENTER",
|
"Source": "VIRTUAL_CENTER",
|
||||||
"Machines": [
|
"Machines": [
|
||||||
{
|
{
|
||||||
"Machine" : "PowerCLI-VM"
|
"Machine" : "Praveen_Agent"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"VirtualCenter": null,
|
"VirtualCenter": null,
|
||||||
@@ -32,4 +69,5 @@
|
|||||||
},
|
},
|
||||||
"RdsDesktopSpec": null,
|
"RdsDesktopSpec": null,
|
||||||
"GlobalEntitlementData": null
|
"GlobalEntitlementData": null
|
||||||
|
|
||||||
}
|
}
|
||||||
27
Modules/VMware.Hv.Helper/Json/Pool/RdsSpec.json
Normal file
27
Modules/VMware.Hv.Helper/Json/Pool/RdsSpec.json
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
{
|
||||||
|
"Base": {
|
||||||
|
"Name" : "RdsJson",
|
||||||
|
"DisplayName": "TestRDSPS",
|
||||||
|
"AccessGroup": "Root",
|
||||||
|
"Description": "Testing PS"
|
||||||
|
},
|
||||||
|
"DesktopSettings": {
|
||||||
|
"enabled": true,
|
||||||
|
"deleting": false,
|
||||||
|
"connectionServerRestrictions": null,
|
||||||
|
"logoffSettings": null,
|
||||||
|
"displayProtocolSettings": null,
|
||||||
|
"flashSettings": {
|
||||||
|
"quality": "NO_CONTROL",
|
||||||
|
"throttling": "DISABLED"
|
||||||
|
},
|
||||||
|
"mirageConfigurationOverrides": null
|
||||||
|
},
|
||||||
|
"Type": "RDS",
|
||||||
|
"AutomatedDesktopSpec": null,
|
||||||
|
"ManualDesktopSpec": null,
|
||||||
|
"RdsDesktopSpec": {
|
||||||
|
"Farm": "test1"
|
||||||
|
},
|
||||||
|
"GlobalEntitlementData": null
|
||||||
|
}
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
{
|
|
||||||
"Base": {
|
|
||||||
"Name" : "RdsJson",
|
|
||||||
"DisplayName": "TestRDSPS",
|
|
||||||
"AccessGroup": "Root",
|
|
||||||
"Description": "Testing PS"
|
|
||||||
},
|
|
||||||
"DesktopSettings": null,
|
|
||||||
"Type": "RDS",
|
|
||||||
"AutomatedDesktopSpec": null,
|
|
||||||
"ManualDesktopSpec": null,
|
|
||||||
"RdsDesktopSpec": {
|
|
||||||
"Farm": "Farm2"
|
|
||||||
},
|
|
||||||
"GlobalEntitlementData": null
|
|
||||||
}
|
|
||||||
20
Modules/VMware.Hv.Helper/README.md
Normal file
20
Modules/VMware.Hv.Helper/README.md
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
Prerequisites/Steps to use this module:
|
||||||
|
|
||||||
|
1. This module only works for Horizon product E.g. Horizon 7.0.2 and later.
|
||||||
|
2. Install the latest version of Powershell, PowerCLI(6.5) or (later version via psgallery).
|
||||||
|
3. Import HorizonView module by running: Import-Module VMware.VimAutomation.HorizonView.
|
||||||
|
4. Import "VMware.Hv.Helper" module by running: Import-Module -Name "location of this module" or Get-Module -ListAvailable 'VMware.Hv.Helper' | Import-Module.
|
||||||
|
5. Get-Command -Module "This module Name" to list all available functions or Get-Command -Module 'VMware.Hv.Helper'.
|
||||||
|
|
||||||
|
# Example script to connect view API service of Connection Server:
|
||||||
|
|
||||||
|
Import-Module VMware.VimAutomation.HorizonView
|
||||||
|
# Connection to view API service
|
||||||
|
$hvServer = Connect-HVServer -server <connection server IP/FQDN>
|
||||||
|
$hvServices = $hvserver.ExtensionData
|
||||||
|
$csList = $hvServices.ConnectionServer.ConnectionServer_List()
|
||||||
|
# Load this module
|
||||||
|
Get-Module -ListAvailable 'VMware.Hv.Helper' | Import-Module
|
||||||
|
Get-Command -Module 'VMware.Hv.Helper'
|
||||||
|
# Use advanced functions of this module
|
||||||
|
New-HVPool -spec 'path to InstantClone.json file'
|
||||||
@@ -27,6 +27,10 @@
|
|||||||
<TableColumnHeader>
|
<TableColumnHeader>
|
||||||
<Width>16</Width>
|
<Width>16</Width>
|
||||||
<Label>User Assignment</Label>
|
<Label>User Assignment</Label>
|
||||||
|
</TableColumnHeader>
|
||||||
|
<TableColumnHeader>
|
||||||
|
<Width>8</Width>
|
||||||
|
<Label>Entitled</Label>
|
||||||
</TableColumnHeader>
|
</TableColumnHeader>
|
||||||
<TableColumnHeader>
|
<TableColumnHeader>
|
||||||
<Width>7</Width>
|
<Width>7</Width>
|
||||||
@@ -56,10 +60,23 @@
|
|||||||
<TableColumnItem>
|
<TableColumnItem>
|
||||||
<ScriptBlock>$_.desktopSummaryData.userAssignment</ScriptBlock>
|
<ScriptBlock>$_.desktopSummaryData.userAssignment</ScriptBlock>
|
||||||
</TableColumnItem>
|
</TableColumnItem>
|
||||||
<TableColumnItem>
|
<TableColumnItem>
|
||||||
|
<ScriptBlock>
|
||||||
|
$filterContains = Get-HVQueryFilter localData.desktops -contains ([VMware.Hv.DesktopId[]]$_.id)
|
||||||
|
$GlobalfilterContains = Get-HVQueryFilter localData.desktops -contains ([VMware.Hv.DesktopId[]]$_.id)
|
||||||
|
Try {
|
||||||
|
$results += Get-HVQueryResult -EntityType EntitledUserOrGroupLocalSummaryView -Filter $filterContains
|
||||||
|
$results += Get-HVQueryResult -EntityType EntitledUserOrGroupGlobalSummaryView -Filter $GlobalfilterContains
|
||||||
|
} Catch {
|
||||||
|
#Do nothing
|
||||||
|
}
|
||||||
|
$results.length
|
||||||
|
</ScriptBlock>
|
||||||
|
</TableColumnItem>
|
||||||
|
<TableColumnItem>
|
||||||
<ScriptBlock>$_.desktopSummaryData.enabled</ScriptBlock>
|
<ScriptBlock>$_.desktopSummaryData.enabled</ScriptBlock>
|
||||||
</TableColumnItem>
|
</TableColumnItem>
|
||||||
<TableColumnItem>
|
<TableColumnItem>
|
||||||
<ScriptBlock>$_.desktopSummaryData.numSessions</ScriptBlock>
|
<ScriptBlock>$_.desktopSummaryData.numSessions</ScriptBlock>
|
||||||
</TableColumnItem>
|
</TableColumnItem>
|
||||||
</TableColumnItems>
|
</TableColumnItems>
|
||||||
@@ -97,6 +114,20 @@
|
|||||||
<ScriptBlock>$_.desktopSummaryData.userAssignment</ScriptBlock>
|
<ScriptBlock>$_.desktopSummaryData.userAssignment</ScriptBlock>
|
||||||
</ListItem>
|
</ListItem>
|
||||||
<ListItem>
|
<ListItem>
|
||||||
|
<Label>Entitled</Label>
|
||||||
|
<ScriptBlock>
|
||||||
|
$filterContains = Get-HVQueryFilter localData.desktops -contains ([VMware.Hv.DesktopId[]]$_.id)
|
||||||
|
$GlobalfilterContains = Get-HVQueryFilter localData.desktops -contains ([VMware.Hv.DesktopId[]]$_.id)
|
||||||
|
Try {
|
||||||
|
$results += Get-HVQueryResult -EntityType EntitledUserOrGroupLocalSummaryView -Filter $filterContains
|
||||||
|
$results += Get-HVQueryResult -EntityType EntitledUserOrGroupGlobalSummaryView -Filter $GlobalfilterContains
|
||||||
|
} Catch {
|
||||||
|
#Do nothing
|
||||||
|
}
|
||||||
|
$results.length
|
||||||
|
</ScriptBlock>
|
||||||
|
</ListItem>
|
||||||
|
<ListItem>
|
||||||
<Label>Enabled</Label>
|
<Label>Enabled</Label>
|
||||||
<ScriptBlock>$_.desktopSummaryData.enabled</ScriptBlock>
|
<ScriptBlock>$_.desktopSummaryData.enabled</ScriptBlock>
|
||||||
</ListItem>
|
</ListItem>
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
# RootModule = ''
|
# RootModule = ''
|
||||||
|
|
||||||
# Version number of this module.
|
# Version number of this module.
|
||||||
ModuleVersion = '1.0'
|
ModuleVersion = '1.1'
|
||||||
|
|
||||||
# ID used to uniquely identify this module
|
# ID used to uniquely identify this module
|
||||||
GUID = '6d3f7fb5-4e52-43d8-91e1-f65f72532a1d'
|
GUID = '6d3f7fb5-4e52-43d8-91e1-f65f72532a1d'
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user