Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Code Capture from cloning from a VM template
#----------------- Start of code capture -----------------
#---------------Config---------------
$_this = Get-View -Id 'VirtualMachine-vm-15'
$_this.Config
#---------------Config---------------
$_this = Get-View -Id 'VirtualMachine-vm-16'
$_this.Config
#---------------ListKmipServers---------------
$_this = Get-View -Id 'CryptoManagerKmip-CryptoManager'
$_this.ListKmipServers($null)
#---------------CheckClone_Task---------------
$vm = New-Object VMware.Vim.ManagedObjectReference
$vm.Type = 'VirtualMachine'
$vm.Value = 'vm-16'
$folder = New-Object VMware.Vim.ManagedObjectReference
$folder.Type = 'Folder'
$folder.Value = 'group-v3'
$name = 'ccdemo01'
$spec = New-Object VMware.Vim.VirtualMachineCloneSpec
$spec.Template = $true
$spec.PowerOn = $false
$spec.Location = New-Object VMware.Vim.VirtualMachineRelocateSpec
$spec.Location.Host = New-Object VMware.Vim.ManagedObjectReference
$spec.Location.Host.Type = 'HostSystem'
$spec.Location.Host.Value = 'host-11'
$spec.Location.Pool = New-Object VMware.Vim.ManagedObjectReference
$spec.Location.Pool.Type = 'ResourcePool'
$spec.Location.Pool.Value = 'resgroup-10'
$testType = New-Object String[] (4)
$testType[0] = 'sourceTests'
$testType[1] = 'resourcePoolTests'
$testType[2] = 'hostTests'
$testType[3] = 'networkTests'
$_this = Get-View -Id 'VirtualMachineProvisioningChecker-ProvChecker'
$_this.CheckClone_Task($vm, $folder, $name, $spec, $testType)
#---------------CheckClone_Task---------------
$vm = New-Object VMware.Vim.ManagedObjectReference
$vm.Type = 'VirtualMachine'
$vm.Value = 'vm-16'
$folder = New-Object VMware.Vim.ManagedObjectReference
$folder.Type = 'Folder'
$folder.Value = 'group-v3'
$name = 'ccdemo01'
$spec = New-Object VMware.Vim.VirtualMachineCloneSpec
$spec.Template = $true
$spec.PowerOn = $false
$spec.Location = New-Object VMware.Vim.VirtualMachineRelocateSpec
$spec.Location.Disk = New-Object VMware.Vim.VirtualMachineRelocateSpecDiskLocator[] (1)
$spec.Location.Disk[0] = New-Object VMware.Vim.VirtualMachineRelocateSpecDiskLocator
$spec.Location.Disk[0].Datastore = New-Object VMware.Vim.ManagedObjectReference
$spec.Location.Disk[0].Datastore.Type = 'Datastore'
$spec.Location.Disk[0].Datastore.Value = 'datastore-12'
$spec.Location.Disk[0].DiskId = 2000
$spec.Location.Datastore = New-Object VMware.Vim.ManagedObjectReference
$spec.Location.Datastore.Type = 'Datastore'
$spec.Location.Datastore.Value = 'datastore-12'
$spec.Location.Host = New-Object VMware.Vim.ManagedObjectReference
$spec.Location.Host.Type = 'HostSystem'
$spec.Location.Host.Value = 'host-11'
$spec.Location.Pool = New-Object VMware.Vim.ManagedObjectReference
$spec.Location.Pool.Type = 'ResourcePool'
$spec.Location.Pool.Value = 'resgroup-10'
$testType = New-Object String[] (1)
$testType[0] = 'datastoreTests'
$_this = Get-View -Id 'VirtualMachineProvisioningChecker-ProvChecker'
$_this.CheckClone_Task($vm, $folder, $name, $spec, $testType)
#---------------CheckClone_Task---------------
$vm = New-Object VMware.Vim.ManagedObjectReference
$vm.Type = 'VirtualMachine'
$vm.Value = 'vm-16'
$folder = New-Object VMware.Vim.ManagedObjectReference
$folder.Type = 'Folder'
$folder.Value = 'group-v3'
$name = 'ccdemo01'
$spec = New-Object VMware.Vim.VirtualMachineCloneSpec
$spec.Template = $true
$spec.PowerOn = $false
$spec.Location = New-Object VMware.Vim.VirtualMachineRelocateSpec
$spec.Location.Disk = New-Object VMware.Vim.VirtualMachineRelocateSpecDiskLocator[] (1)
$spec.Location.Disk[0] = New-Object VMware.Vim.VirtualMachineRelocateSpecDiskLocator
$spec.Location.Disk[0].DiskBackingInfo = New-Object VMware.Vim.VirtualDiskFlatVer2BackingInfo
$spec.Location.Disk[0].DiskBackingInfo.FileName = ''
$spec.Location.Disk[0].DiskBackingInfo.DiskMode = ''
$spec.Location.Disk[0].Datastore = New-Object VMware.Vim.ManagedObjectReference
$spec.Location.Disk[0].Datastore.Type = 'Datastore'
$spec.Location.Disk[0].Datastore.Value = 'datastore-12'
$spec.Location.Disk[0].DiskId = 2000
$spec.Location.Datastore = New-Object VMware.Vim.ManagedObjectReference
$spec.Location.Datastore.Type = 'Datastore'
$spec.Location.Datastore.Value = 'datastore-12'
$spec.Location.Host = New-Object VMware.Vim.ManagedObjectReference
$spec.Location.Host.Type = 'HostSystem'
$spec.Location.Host.Value = 'host-11'
$spec.Location.Pool = New-Object VMware.Vim.ManagedObjectReference
$spec.Location.Pool.Type = 'ResourcePool'
$spec.Location.Pool.Value = 'resgroup-10'
$testType = New-Object String[] (1)
$testType[0] = 'datastoreTests'
$_this = Get-View -Id 'VirtualMachineProvisioningChecker-ProvChecker'
$_this.CheckClone_Task($vm, $folder, $name, $spec, $testType)
#---------------CheckCustomizationResources---------------
$guestOs = 'windows9Server64Guest'
$_this = Get-View -Id 'CustomizationSpecManager-CustomizationSpecManager'
$_this.CheckCustomizationResources($guestOs)
#---------------Info---------------
$_this = Get-View -Id 'CustomizationSpecManager-CustomizationSpecManager'
$_this.Info
#---------------GetCustomizationSpec---------------
$name = 'Windows 2019 Core'
$_this = Get-View -Id 'CustomizationSpecManager-CustomizationSpecManager'
$_this.GetCustomizationSpec($name)
#---------------EncryptionKey---------------
$_this = Get-View -Id 'CustomizationSpecManager-CustomizationSpecManager'
$_this.EncryptionKey
#---------------CloneVM_Task---------------
$folder = New-Object VMware.Vim.ManagedObjectReference
$folder.Type = 'Folder'
$folder.Value = 'group-v3'
$name = 'ccdemo01'
$spec = New-Object VMware.Vim.VirtualMachineCloneSpec
$spec.Template = $false
$spec.PowerOn = $false
$spec.Customization = New-Object VMware.Vim.CustomizationSpec
$spec.Customization.NicSettingMap = New-Object VMware.Vim.CustomizationAdapterMapping[] (1)
$spec.Customization.NicSettingMap[0] = New-Object VMware.Vim.CustomizationAdapterMapping
$spec.Customization.NicSettingMap[0].Adapter = New-Object VMware.Vim.CustomizationIPSettings
$spec.Customization.NicSettingMap[0].Adapter.IpV6Spec = New-Object VMware.Vim.CustomizationIPSettingsIpV6AddressSpec
$spec.Customization.NicSettingMap[0].Adapter.IpV6Spec.Ip = New-Object VMware.Vim.CustomizationIpV6Generator[] (1)
$spec.Customization.NicSettingMap[0].Adapter.IpV6Spec.Ip[0] = New-Object VMware.Vim.CustomizationDhcpIpV6Generator
$spec.Customization.NicSettingMap[0].Adapter.Ip = New-Object VMware.Vim.CustomizationDhcpIpGenerator
$spec.Customization.Identity = New-Object VMware.Vim.CustomizationSysprep
$spec.Customization.Identity.LicenseFilePrintData = New-Object VMware.Vim.CustomizationLicenseFilePrintData
$spec.Customization.Identity.LicenseFilePrintData.AutoMode = 'perServer'
$spec.Customization.Identity.LicenseFilePrintData.AutoUsers = 5
$spec.Customization.Identity.Identification = New-Object VMware.Vim.CustomizationIdentification
$spec.Customization.Identity.Identification.JoinWorkgroup = 'WORKGROUP'
$spec.Customization.Identity.UserData = New-Object VMware.Vim.CustomizationUserData
$spec.Customization.Identity.UserData.OrgName = '-'
$spec.Customization.Identity.UserData.ProductId = ''
$spec.Customization.Identity.UserData.ComputerName = New-Object VMware.Vim.CustomizationVirtualMachineName
$spec.Customization.Identity.UserData.FullName = '-'
$spec.Customization.Identity.GuiUnattended = New-Object VMware.Vim.CustomizationGuiUnattended
$spec.Customization.Identity.GuiUnattended.Password = New-Object VMware.Vim.CustomizationPassword
$spec.Customization.Identity.GuiUnattended.Password.PlainText = $false
$spec.Customization.Identity.GuiUnattended.Password.Value = 'Sensitive data is not recorded'
$spec.Customization.Identity.GuiUnattended.AutoLogon = $false
$spec.Customization.Identity.GuiUnattended.AutoLogonCount = 1
$spec.Customization.Identity.GuiUnattended.TimeZone = 260
$spec.Customization.Options = New-Object VMware.Vim.CustomizationWinOptions
$spec.Customization.Options.ChangeSID = $true
$spec.Customization.Options.DeleteAccounts = $false
$spec.Customization.EncryptionKey = New-Object byte[] (1099)
$spec.Customization.EncryptionKey[0] = 48
$spec.Customization.EncryptionKey[1] = -126
$spec.Customization.EncryptionKey[2] = 4
$spec.Customization.EncryptionKey[3] = 71
$spec.Customization.EncryptionKey[4] = 48
$spec.Customization.EncryptionKey[5] = -126
$spec.Customization.EncryptionKey[6] = 3
$spec.Customization.EncryptionKey[7] = 47
$spec.Customization.EncryptionKey[8] = -96
$spec.Customization.EncryptionKey[9] = 3
$spec.Customization.EncryptionKey[10] = 2
$spec.Customization.EncryptionKey[11] = 1
$spec.Customization.EncryptionKey[12] = 2
$spec.Customization.EncryptionKey[13] = 2
$spec.Customization.EncryptionKey[14] = 9
$spec.Customization.EncryptionKey[15] = 0
$spec.Customization.EncryptionKey[16] = -16
$spec.Customization.EncryptionKey[17] = -43
$spec.Customization.EncryptionKey[18] = 125
$spec.Customization.EncryptionKey[19] = 50
$spec.Customization.EncryptionKey[20] = -40
$spec.Customization.EncryptionKey[21] = 69
$spec.Customization.EncryptionKey[22] = 57
$spec.Customization.EncryptionKey[23] = 6
$spec.Customization.EncryptionKey[24] = 48
$spec.Customization.EncryptionKey[25] = 13
$spec.Customization.EncryptionKey[26] = 6
$spec.Customization.EncryptionKey[27] = 9
$spec.Customization.EncryptionKey[28] = 42
$spec.Customization.EncryptionKey[29] = -122
$spec.Customization.EncryptionKey[30] = 72
$spec.Customization.EncryptionKey[31] = -122
$spec.Customization.EncryptionKey[32] = -9
$spec.Customization.EncryptionKey[33] = 13
$spec.Customization.EncryptionKey[34] = 1
$spec.Customization.EncryptionKey[35] = 1
$spec.Customization.EncryptionKey[36] = 11
$spec.Customization.EncryptionKey[37] = 5
$spec.Customization.EncryptionKey[38] = 0
$spec.Customization.EncryptionKey[39] = 48
$spec.Customization.EncryptionKey[40] = -127
$spec.Customization.EncryptionKey[41] = -107
$spec.Customization.EncryptionKey[42] = 49
$spec.Customization.EncryptionKey[43] = 11
$spec.Customization.EncryptionKey[44] = 48
$spec.Customization.EncryptionKey[45] = 9
$spec.Customization.EncryptionKey[46] = 6
$spec.Customization.EncryptionKey[47] = 3
$spec.Customization.EncryptionKey[48] = 85
$spec.Customization.EncryptionKey[49] = 4
$spec.Customization.EncryptionKey[50] = 3
$spec.Customization.EncryptionKey[51] = 12
$spec.Customization.EncryptionKey[52] = 2
$spec.Customization.EncryptionKey[53] = 67
$spec.Customization.EncryptionKey[54] = 65
$spec.Customization.EncryptionKey[55] = 49
$spec.Customization.EncryptionKey[56] = 23
$spec.Customization.EncryptionKey[57] = 48
$spec.Customization.EncryptionKey[58] = 21
$spec.Customization.EncryptionKey[59] = 6
$spec.Customization.EncryptionKey[60] = 10
$spec.Customization.EncryptionKey[61] = 9
$spec.Customization.EncryptionKey[62] = -110
$spec.Customization.EncryptionKey[63] = 38
$spec.Customization.EncryptionKey[64] = -119
$spec.Customization.EncryptionKey[65] = -109
$spec.Customization.EncryptionKey[66] = -14
$spec.Customization.EncryptionKey[67] = 44
$spec.Customization.EncryptionKey[68] = 100
$spec.Customization.EncryptionKey[69] = 1
$spec.Customization.EncryptionKey[70] = 25
$spec.Customization.EncryptionKey[71] = 22
$spec.Customization.EncryptionKey[72] = 7
$spec.Customization.EncryptionKey[73] = 118
$spec.Customization.EncryptionKey[74] = 115
$spec.Customization.EncryptionKey[75] = 112
$spec.Customization.EncryptionKey[76] = 104
$spec.Customization.EncryptionKey[77] = 101
$spec.Customization.EncryptionKey[78] = 114
$spec.Customization.EncryptionKey[79] = 101
$spec.Customization.EncryptionKey[80] = 49
$spec.Customization.EncryptionKey[81] = 21
$spec.Customization.EncryptionKey[82] = 48
$spec.Customization.EncryptionKey[83] = 19
$spec.Customization.EncryptionKey[84] = 6
$spec.Customization.EncryptionKey[85] = 10
$spec.Customization.EncryptionKey[86] = 9
$spec.Customization.EncryptionKey[87] = -110
$spec.Customization.EncryptionKey[88] = 38
$spec.Customization.EncryptionKey[89] = -119
$spec.Customization.EncryptionKey[90] = -109
$spec.Customization.EncryptionKey[91] = -14
$spec.Customization.EncryptionKey[92] = 44
$spec.Customization.EncryptionKey[93] = 100
$spec.Customization.EncryptionKey[94] = 1
$spec.Customization.EncryptionKey[95] = 25
$spec.Customization.EncryptionKey[96] = 22
$spec.Customization.EncryptionKey[97] = 5
$spec.Customization.EncryptionKey[98] = 108
$spec.Customization.EncryptionKey[99] = 111
$spec.Customization.EncryptionKey[100] = 99
$spec.Customization.EncryptionKey[101] = 97
$spec.Customization.EncryptionKey[102] = 108
$spec.Customization.EncryptionKey[103] = 49
$spec.Customization.EncryptionKey[104] = 11
$spec.Customization.EncryptionKey[105] = 48
$spec.Customization.EncryptionKey[106] = 9
$spec.Customization.EncryptionKey[107] = 6
$spec.Customization.EncryptionKey[108] = 3
$spec.Customization.EncryptionKey[109] = 85
$spec.Customization.EncryptionKey[110] = 4
$spec.Customization.EncryptionKey[111] = 6
$spec.Customization.EncryptionKey[112] = 19
$spec.Customization.EncryptionKey[113] = 2
$spec.Customization.EncryptionKey[114] = 85
$spec.Customization.EncryptionKey[115] = 83
$spec.Customization.EncryptionKey[116] = 49
$spec.Customization.EncryptionKey[117] = 19
$spec.Customization.EncryptionKey[118] = 48
$spec.Customization.EncryptionKey[119] = 17
$spec.Customization.EncryptionKey[120] = 6
$spec.Customization.EncryptionKey[121] = 3
$spec.Customization.EncryptionKey[122] = 85
$spec.Customization.EncryptionKey[123] = 4
$spec.Customization.EncryptionKey[124] = 8
$spec.Customization.EncryptionKey[125] = 12
$spec.Customization.EncryptionKey[126] = 10
$spec.Customization.EncryptionKey[127] = 67
$spec.Customization.EncryptionKey[128] = 97
$spec.Customization.EncryptionKey[129] = 108
$spec.Customization.EncryptionKey[130] = 105
$spec.Customization.EncryptionKey[131] = 102
$spec.Customization.EncryptionKey[132] = 111
$spec.Customization.EncryptionKey[133] = 114
$spec.Customization.EncryptionKey[134] = 110
$spec.Customization.EncryptionKey[135] = 105
$spec.Customization.EncryptionKey[136] = 97
$spec.Customization.EncryptionKey[137] = 49
$spec.Customization.EncryptionKey[138] = 23
$spec.Customization.EncryptionKey[139] = 48
$spec.Customization.EncryptionKey[140] = 21
$spec.Customization.EncryptionKey[141] = 6
$spec.Customization.EncryptionKey[142] = 3
$spec.Customization.EncryptionKey[143] = 85
$spec.Customization.EncryptionKey[144] = 4
$spec.Customization.EncryptionKey[145] = 10
$spec.Customization.EncryptionKey[146] = 12
$spec.Customization.EncryptionKey[147] = 14
$spec.Customization.EncryptionKey[148] = 112
$spec.Customization.EncryptionKey[149] = 104
$spec.Customization.EncryptionKey[150] = 111
$spec.Customization.EncryptionKey[151] = 116
$spec.Customization.EncryptionKey[152] = 111
$spec.Customization.EncryptionKey[153] = 110
$spec.Customization.EncryptionKey[154] = 45
$spec.Customization.EncryptionKey[155] = 109
$spec.Customization.EncryptionKey[156] = 97
$spec.Customization.EncryptionKey[157] = 99
$spec.Customization.EncryptionKey[158] = 104
$spec.Customization.EncryptionKey[159] = 105
$spec.Customization.EncryptionKey[160] = 110
$spec.Customization.EncryptionKey[161] = 101
$spec.Customization.EncryptionKey[162] = 49
$spec.Customization.EncryptionKey[163] = 27
$spec.Customization.EncryptionKey[164] = 48
$spec.Customization.EncryptionKey[165] = 25
$spec.Customization.EncryptionKey[166] = 6
$spec.Customization.EncryptionKey[167] = 3
$spec.Customization.EncryptionKey[168] = 85
$spec.Customization.EncryptionKey[169] = 4
$spec.Customization.EncryptionKey[170] = 11
$spec.Customization.EncryptionKey[171] = 12
$spec.Customization.EncryptionKey[172] = 18
$spec.Customization.EncryptionKey[173] = 86
$spec.Customization.EncryptionKey[174] = 77
$spec.Customization.EncryptionKey[175] = 119
$spec.Customization.EncryptionKey[176] = 97
$spec.Customization.EncryptionKey[177] = 114
$spec.Customization.EncryptionKey[178] = 101
$spec.Customization.EncryptionKey[179] = 32
$spec.Customization.EncryptionKey[180] = 69
$spec.Customization.EncryptionKey[181] = 110
$spec.Customization.EncryptionKey[182] = 103
$spec.Customization.EncryptionKey[183] = 105
$spec.Customization.EncryptionKey[184] = 110
$spec.Customization.EncryptionKey[185] = 101
$spec.Customization.EncryptionKey[186] = 101
$spec.Customization.EncryptionKey[187] = 114
$spec.Customization.EncryptionKey[188] = 105
$spec.Customization.EncryptionKey[189] = 110
$spec.Customization.EncryptionKey[190] = 103
$spec.Customization.EncryptionKey[191] = 48
$spec.Customization.EncryptionKey[192] = 30
$spec.Customization.EncryptionKey[193] = 23
$spec.Customization.EncryptionKey[194] = 13
$spec.Customization.EncryptionKey[195] = 49
$spec.Customization.EncryptionKey[196] = 57
$spec.Customization.EncryptionKey[197] = 48
$spec.Customization.EncryptionKey[198] = 53
$spec.Customization.EncryptionKey[199] = 49
$spec.Customization.EncryptionKey[200] = 56
$spec.Customization.EncryptionKey[201] = 48
$spec.Customization.EncryptionKey[202] = 53
$spec.Customization.EncryptionKey[203] = 51
$spec.Customization.EncryptionKey[204] = 52
$spec.Customization.EncryptionKey[205] = 50
$spec.Customization.EncryptionKey[206] = 55
$spec.Customization.EncryptionKey[207] = 90
$spec.Customization.EncryptionKey[208] = 23
$spec.Customization.EncryptionKey[209] = 13
$spec.Customization.EncryptionKey[210] = 50
$spec.Customization.EncryptionKey[211] = 57
$spec.Customization.EncryptionKey[212] = 48
$spec.Customization.EncryptionKey[213] = 53
$spec.Customization.EncryptionKey[214] = 49
$spec.Customization.EncryptionKey[215] = 50
$spec.Customization.EncryptionKey[216] = 48
$spec.Customization.EncryptionKey[217] = 53
$spec.Customization.EncryptionKey[218] = 52
$spec.Customization.EncryptionKey[219] = 48
$spec.Customization.EncryptionKey[220] = 50
$spec.Customization.EncryptionKey[221] = 51
$spec.Customization.EncryptionKey[222] = 90
$spec.Customization.EncryptionKey[223] = 48
$spec.Customization.EncryptionKey[224] = -127
$spec.Customization.EncryptionKey[225] = -116
$spec.Customization.EncryptionKey[226] = 49
$spec.Customization.EncryptionKey[227] = 26
$spec.Customization.EncryptionKey[228] = 48
$spec.Customization.EncryptionKey[229] = 24
$spec.Customization.EncryptionKey[230] = 6
$spec.Customization.EncryptionKey[231] = 3
$spec.Customization.EncryptionKey[232] = 85
$spec.Customization.EncryptionKey[233] = 4
$spec.Customization.EncryptionKey[234] = 3
$spec.Customization.EncryptionKey[235] = 12
$spec.Customization.EncryptionKey[236] = 17
$spec.Customization.EncryptionKey[237] = 100
$spec.Customization.EncryptionKey[238] = 97
$spec.Customization.EncryptionKey[239] = 116
$spec.Customization.EncryptionKey[240] = 97
$spec.Customization.EncryptionKey[241] = 45
$spec.Customization.EncryptionKey[242] = 101
$spec.Customization.EncryptionKey[243] = 110
$spec.Customization.EncryptionKey[244] = 99
$spec.Customization.EncryptionKey[245] = 105
$spec.Customization.EncryptionKey[246] = 112
$spec.Customization.EncryptionKey[247] = 104
$spec.Customization.EncryptionKey[248] = 101
$spec.Customization.EncryptionKey[249] = 114
$spec.Customization.EncryptionKey[250] = 109
$spec.Customization.EncryptionKey[251] = 101
$spec.Customization.EncryptionKey[252] = 110
$spec.Customization.EncryptionKey[253] = 116
$spec.Customization.EncryptionKey[254] = 49
$spec.Customization.EncryptionKey[255] = 23
$spec.Customization.EncryptionKey[256] = 48
$spec.Customization.EncryptionKey[257] = 21
$spec.Customization.EncryptionKey[258] = 6
$spec.Customization.EncryptionKey[259] = 10
$spec.Customization.EncryptionKey[260] = 9
$spec.Customization.EncryptionKey[261] = -110
$spec.Customization.EncryptionKey[262] = 38
$spec.Customization.EncryptionKey[263] = -119
$spec.Customization.EncryptionKey[264] = -109
$spec.Customization.EncryptionKey[265] = -14
$spec.Customization.EncryptionKey[266] = 44
$spec.Customization.EncryptionKey[267] = 100
$spec.Customization.EncryptionKey[268] = 1
$spec.Customization.EncryptionKey[269] = 25
$spec.Customization.EncryptionKey[270] = 22
$spec.Customization.EncryptionKey[271] = 7
$spec.Customization.EncryptionKey[272] = 118
$spec.Customization.EncryptionKey[273] = 115
$spec.Customization.EncryptionKey[274] = 112
$spec.Customization.EncryptionKey[275] = 104
$spec.Customization.EncryptionKey[276] = 101
$spec.Customization.EncryptionKey[277] = 114
$spec.Customization.EncryptionKey[278] = 101
$spec.Customization.EncryptionKey[279] = 49
$spec.Customization.EncryptionKey[280] = 21
$spec.Customization.EncryptionKey[281] = 48
$spec.Customization.EncryptionKey[282] = 19
$spec.Customization.EncryptionKey[283] = 6
$spec.Customization.EncryptionKey[284] = 10
$spec.Customization.EncryptionKey[285] = 9
$spec.Customization.EncryptionKey[286] = -110
$spec.Customization.EncryptionKey[287] = 38
$spec.Customization.EncryptionKey[288] = -119
$spec.Customization.EncryptionKey[289] = -109
$spec.Customization.EncryptionKey[290] = -14
$spec.Customization.EncryptionKey[291] = 44
$spec.Customization.EncryptionKey[292] = 100
$spec.Customization.EncryptionKey[293] = 1
$spec.Customization.EncryptionKey[294] = 25
$spec.Customization.EncryptionKey[295] = 22
$spec.Customization.EncryptionKey[296] = 5
$spec.Customization.EncryptionKey[297] = 108
$spec.Customization.EncryptionKey[298] = 111
$spec.Customization.EncryptionKey[299] = 99
$spec.Customization.EncryptionKey[300] = 97
$spec.Customization.EncryptionKey[301] = 108
$spec.Customization.EncryptionKey[302] = 49
$spec.Customization.EncryptionKey[303] = 11
$spec.Customization.EncryptionKey[304] = 48
$spec.Customization.EncryptionKey[305] = 9
$spec.Customization.EncryptionKey[306] = 6
$spec.Customization.EncryptionKey[307] = 3
$spec.Customization.EncryptionKey[308] = 85
$spec.Customization.EncryptionKey[309] = 4
$spec.Customization.EncryptionKey[310] = 6
$spec.Customization.EncryptionKey[311] = 19
$spec.Customization.EncryptionKey[312] = 2
$spec.Customization.EncryptionKey[313] = 85
$spec.Customization.EncryptionKey[314] = 83
$spec.Customization.EncryptionKey[315] = 49
$spec.Customization.EncryptionKey[316] = 49
$spec.Customization.EncryptionKey[317] = 48
$spec.Customization.EncryptionKey[318] = 47
$spec.Customization.EncryptionKey[319] = 6
$spec.Customization.EncryptionKey[320] = 3
$spec.Customization.EncryptionKey[321] = 85
$spec.Customization.EncryptionKey[322] = 4
$spec.Customization.EncryptionKey[323] = 11
$spec.Customization.EncryptionKey[324] = 12
$spec.Customization.EncryptionKey[325] = 40
$spec.Customization.EncryptionKey[326] = 109
$spec.Customization.EncryptionKey[327] = 73
$spec.Customization.EncryptionKey[328] = 68
$spec.Customization.EncryptionKey[329] = 45
$spec.Customization.EncryptionKey[330] = 53
$spec.Customization.EncryptionKey[331] = 97
$spec.Customization.EncryptionKey[332] = 48
$spec.Customization.EncryptionKey[333] = 100
$spec.Customization.EncryptionKey[334] = 54
$spec.Customization.EncryptionKey[335] = 50
$spec.Customization.EncryptionKey[336] = 53
$spec.Customization.EncryptionKey[337] = 55
$spec.Customization.EncryptionKey[338] = 45
$spec.Customization.EncryptionKey[339] = 97
$spec.Customization.EncryptionKey[340] = 97
$spec.Customization.EncryptionKey[341] = 53
$spec.Customization.EncryptionKey[342] = 99
$spec.Customization.EncryptionKey[343] = 45
$spec.Customization.EncryptionKey[344] = 52
$spec.Customization.EncryptionKey[345] = 100
$spec.Customization.EncryptionKey[346] = 97
$spec.Customization.EncryptionKey[347] = 98
$spec.Customization.EncryptionKey[348] = 45
$spec.Customization.EncryptionKey[349] = 97
$spec.Customization.EncryptionKey[350] = 99
$spec.Customization.EncryptionKey[351] = 102
$spec.Customization.EncryptionKey[352] = 98
$spec.Customization.EncryptionKey[353] = 45
$spec.Customization.EncryptionKey[354] = 53
$spec.Customization.EncryptionKey[355] = 51
$spec.Customization.EncryptionKey[356] = 97
$spec.Customization.EncryptionKey[357] = 54
$spec.Customization.EncryptionKey[358] = 102
$spec.Customization.EncryptionKey[359] = 48
$spec.Customization.EncryptionKey[360] = 101
$spec.Customization.EncryptionKey[361] = 99
$spec.Customization.EncryptionKey[362] = 99
$spec.Customization.EncryptionKey[363] = 100
$spec.Customization.EncryptionKey[364] = 100
$spec.Customization.EncryptionKey[365] = 102
$spec.Customization.EncryptionKey[366] = 48
$spec.Customization.EncryptionKey[367] = -126
$spec.Customization.EncryptionKey[368] = 1
$spec.Customization.EncryptionKey[369] = 34
$spec.Customization.EncryptionKey[370] = 48
$spec.Customization.EncryptionKey[371] = 13
$spec.Customization.EncryptionKey[372] = 6
$spec.Customization.EncryptionKey[373] = 9
$spec.Customization.EncryptionKey[374] = 42
$spec.Customization.EncryptionKey[375] = -122
$spec.Customization.EncryptionKey[376] = 72
$spec.Customization.EncryptionKey[377] = -122
$spec.Customization.EncryptionKey[378] = -9
$spec.Customization.EncryptionKey[379] = 13
$spec.Customization.EncryptionKey[380] = 1
$spec.Customization.EncryptionKey[381] = 1
$spec.Customization.EncryptionKey[382] = 1
$spec.Customization.EncryptionKey[383] = 5
$spec.Customization.EncryptionKey[384] = 0
$spec.Customization.EncryptionKey[385] = 3
$spec.Customization.EncryptionKey[386] = -126
$spec.Customization.EncryptionKey[387] = 1
$spec.Customization.EncryptionKey[388] = 15
$spec.Customization.EncryptionKey[389] = 0
$spec.Customization.EncryptionKey[390] = 48
$spec.Customization.EncryptionKey[391] = -126
$spec.Customization.EncryptionKey[392] = 1
$spec.Customization.EncryptionKey[393] = 10
$spec.Customization.EncryptionKey[394] = 2
$spec.Customization.EncryptionKey[395] = -126
$spec.Customization.EncryptionKey[396] = 1
$spec.Customization.EncryptionKey[397] = 1
$spec.Customization.EncryptionKey[398] = 0
$spec.Customization.EncryptionKey[399] = -32
$spec.Customization.EncryptionKey[400] = 34
$spec.Customization.EncryptionKey[401] = 3
$spec.Customization.EncryptionKey[402] = -9
$spec.Customization.EncryptionKey[403] = -64
$spec.Customization.EncryptionKey[404] = 43
$spec.Customization.EncryptionKey[405] = 126
$spec.Customization.EncryptionKey[406] = 77
$spec.Customization.EncryptionKey[407] = 54
$spec.Customization.EncryptionKey[408] = -10
$spec.Customization.EncryptionKey[409] = -96
$spec.Customization.EncryptionKey[410] = -4
$spec.Customization.EncryptionKey[411] = 48
$spec.Customization.EncryptionKey[412] = 38
$spec.Customization.EncryptionKey[413] = -127
$spec.Customization.EncryptionKey[414] = 13
$spec.Customization.EncryptionKey[415] = -39
$spec.Customization.EncryptionKey[416] = 124
$spec.Customization.EncryptionKey[417] = -74
$spec.Customization.EncryptionKey[418] = 20
$spec.Customization.EncryptionKey[419] = 40
$spec.Customization.EncryptionKey[420] = -79
$spec.Customization.EncryptionKey[421] = 75
$spec.Customization.EncryptionKey[422] = -111
$spec.Customization.EncryptionKey[423] = -41
$spec.Customization.EncryptionKey[424] = -24
$spec.Customization.EncryptionKey[425] = -32
$spec.Customization.EncryptionKey[426] = -48
$spec.Customization.EncryptionKey[427] = -123
$spec.Customization.EncryptionKey[428] = -54
$spec.Customization.EncryptionKey[429] = -92
$spec.Customization.EncryptionKey[430] = 49
$spec.Customization.EncryptionKey[431] = -128
$spec.Customization.EncryptionKey[432] = -80
$spec.Customization.EncryptionKey[433] = -89
$spec.Customization.EncryptionKey[434] = 115
$spec.Customization.EncryptionKey[435] = -69
$spec.Customization.EncryptionKey[436] = 46
$spec.Customization.EncryptionKey[437] = 48
$spec.Customization.EncryptionKey[438] = 106
$spec.Customization.EncryptionKey[439] = 38
$spec.Customization.EncryptionKey[440] = 108
$spec.Customization.EncryptionKey[441] = 74
$spec.Customization.EncryptionKey[442] = 32
$spec.Customization.EncryptionKey[443] = -54
$spec.Customization.EncryptionKey[444] = 24
$spec.Customization.EncryptionKey[445] = 105
$spec.Customization.EncryptionKey[446] = -117
$spec.Customization.EncryptionKey[447] = -57
$spec.Customization.EncryptionKey[448] = 60
$spec.Customization.EncryptionKey[449] = 76
$spec.Customization.EncryptionKey[450] = -72
$spec.Customization.EncryptionKey[451] = 65
$spec.Customization.EncryptionKey[452] = 124
$spec.Customization.EncryptionKey[453] = 42
$spec.Customization.EncryptionKey[454] = -10
$spec.Customization.EncryptionKey[455] = -48
$spec.Customization.EncryptionKey[456] = 100
$spec.Customization.EncryptionKey[457] = -16
$spec.Customization.EncryptionKey[458] = 62
$spec.Customization.EncryptionKey[459] = 45
$spec.Customization.EncryptionKey[460] = -125
$spec.Customization.EncryptionKey[461] = 105
$spec.Customization.EncryptionKey[462] = -93
$spec.Customization.EncryptionKey[463] = -98
$spec.Customization.EncryptionKey[464] = 107
$spec.Customization.EncryptionKey[465] = -32
$spec.Customization.EncryptionKey[466] = 59
$spec.Customization.EncryptionKey[467] = 59
$spec.Customization.EncryptionKey[468] = -27
$spec.Customization.EncryptionKey[469] = -29
$spec.Customization.EncryptionKey[470] = 60
$spec.Customization.EncryptionKey[471] = -102
$spec.Customization.EncryptionKey[472] = 40
$spec.Customization.EncryptionKey[473] = -125
$spec.Customization.EncryptionKey[474] = -17
$spec.Customization.EncryptionKey[475] = -10
$spec.Customization.EncryptionKey[476] = 17
$spec.Customization.EncryptionKey[477] = 48
$spec.Customization.EncryptionKey[478] = -115
$spec.Customization.EncryptionKey[479] = 15
$spec.Customization.EncryptionKey[480] = 126
$spec.Customization.EncryptionKey[481] = -8
$spec.Customization.EncryptionKey[482] = -5
$spec.Customization.EncryptionKey[483] = 120
$spec.Customization.EncryptionKey[484] = 7
$spec.Customization.EncryptionKey[485] = 104
$spec.Customization.EncryptionKey[486] = -78
$spec.Customization.EncryptionKey[487] = 114
$spec.Customization.EncryptionKey[488] = -114
$spec.Customization.EncryptionKey[489] = -105
$spec.Customization.EncryptionKey[490] = -33
$spec.Customization.EncryptionKey[491] = 85
$spec.Customization.EncryptionKey[492] = 82
$spec.Customization.EncryptionKey[493] = 34
$spec.Customization.EncryptionKey[494] = -80
$spec.Customization.EncryptionKey[495] = -110
$spec.Customization.EncryptionKey[496] = -108
$spec.Customization.EncryptionKey[497] = -100
$spec.Customization.EncryptionKey[498] = -111
$spec.Customization.EncryptionKey[499] = -57
$spec.Customization.EncryptionKey[500] = -36
$spec.Customization.EncryptionKey[501] = 84
$spec.Customization.EncryptionKey[502] = -113
$spec.Customization.EncryptionKey[503] = 55
$spec.Customization.EncryptionKey[504] = -97
$spec.Customization.EncryptionKey[505] = -38
$spec.Customization.EncryptionKey[506] = 52
$spec.Customization.EncryptionKey[507] = 34
$spec.Customization.EncryptionKey[508] = -91
$spec.Customization.EncryptionKey[509] = -20
$spec.Customization.EncryptionKey[510] = -113
$spec.Customization.EncryptionKey[511] = 44
$spec.Customization.EncryptionKey[512] = -44
$spec.Customization.EncryptionKey[513] = 35
$spec.Customization.EncryptionKey[514] = 30
$spec.Customization.EncryptionKey[515] = -39
$spec.Customization.EncryptionKey[516] = -44
$spec.Customization.EncryptionKey[517] = -108
$spec.Customization.EncryptionKey[518] = 55
$spec.Customization.EncryptionKey[519] = 18
$spec.Customization.EncryptionKey[520] = -39
$spec.Customization.EncryptionKey[521] = -82
$spec.Customization.EncryptionKey[522] = 1
$spec.Customization.EncryptionKey[523] = -122
$spec.Customization.EncryptionKey[524] = -52
$spec.Customization.EncryptionKey[525] = -78
$spec.Customization.EncryptionKey[526] = 29
$spec.Customization.EncryptionKey[527] = -128
$spec.Customization.EncryptionKey[528] = -125
$spec.Customization.EncryptionKey[529] = 42
$spec.Customization.EncryptionKey[530] = -42
$spec.Customization.EncryptionKey[531] = -106
$spec.Customization.EncryptionKey[532] = 85
$spec.Customization.EncryptionKey[533] = -50
$spec.Customization.EncryptionKey[534] = -17
$spec.Customization.EncryptionKey[535] = -43
$spec.Customization.EncryptionKey[536] = 68
$spec.Customization.EncryptionKey[537] = -26
$spec.Customization.EncryptionKey[538] = -96
$spec.Customization.EncryptionKey[539] = 112
$spec.Customization.EncryptionKey[540] = 105
$spec.Customization.EncryptionKey[541] = -62
$spec.Customization.EncryptionKey[542] = 61
$spec.Customization.EncryptionKey[543] = 53
$spec.Customization.EncryptionKey[544] = -45
$spec.Customization.EncryptionKey[545] = 116
$spec.Customization.EncryptionKey[546] = 123
$spec.Customization.EncryptionKey[547] = 91
$spec.Customization.EncryptionKey[548] = -52
$spec.Customization.EncryptionKey[549] = -114
$spec.Customization.EncryptionKey[550] = 4
$spec.Customization.EncryptionKey[551] = -62
$spec.Customization.EncryptionKey[552] = 84
$spec.Customization.EncryptionKey[553] = -23
$spec.Customization.EncryptionKey[554] = 59
$spec.Customization.EncryptionKey[555] = -71
$spec.Customization.EncryptionKey[556] = -72
$spec.Customization.EncryptionKey[557] = -79
$spec.Customization.EncryptionKey[558] = -81
$spec.Customization.EncryptionKey[559] = -92
$spec.Customization.EncryptionKey[560] = -121
$spec.Customization.EncryptionKey[561] = -99
$spec.Customization.EncryptionKey[562] = -21
$spec.Customization.EncryptionKey[563] = 122
$spec.Customization.EncryptionKey[564] = -108
$spec.Customization.EncryptionKey[565] = -90
$spec.Customization.EncryptionKey[566] = 54
$spec.Customization.EncryptionKey[567] = 97
$spec.Customization.EncryptionKey[568] = -106
$spec.Customization.EncryptionKey[569] = 92
$spec.Customization.EncryptionKey[570] = -127
$spec.Customization.EncryptionKey[571] = -66
$spec.Customization.EncryptionKey[572] = -17
$spec.Customization.EncryptionKey[573] = 7
$spec.Customization.EncryptionKey[574] = 88
$spec.Customization.EncryptionKey[575] = 40
$spec.Customization.EncryptionKey[576] = -107
$spec.Customization.EncryptionKey[577] = 14
$spec.Customization.EncryptionKey[578] = -93
$spec.Customization.EncryptionKey[579] = -3
$spec.Customization.EncryptionKey[580] = -38
$spec.Customization.EncryptionKey[581] = -13
$spec.Customization.EncryptionKey[582] = -70
$spec.Customization.EncryptionKey[583] = 29
$spec.Customization.EncryptionKey[584] = -127
$spec.Customization.EncryptionKey[585] = 61
$spec.Customization.EncryptionKey[586] = -23
$spec.Customization.EncryptionKey[587] = 1
$spec.Customization.EncryptionKey[588] = 80
$spec.Customization.EncryptionKey[589] = 118
$spec.Customization.EncryptionKey[590] = -36
$spec.Customization.EncryptionKey[591] = 46
$spec.Customization.EncryptionKey[592] = -51
$spec.Customization.EncryptionKey[593] = -50
$spec.Customization.EncryptionKey[594] = 66
$spec.Customization.EncryptionKey[595] = 45
$spec.Customization.EncryptionKey[596] = 41
$spec.Customization.EncryptionKey[597] = -38
$spec.Customization.EncryptionKey[598] = -103
$spec.Customization.EncryptionKey[599] = -59
$spec.Customization.EncryptionKey[600] = 91
$spec.Customization.EncryptionKey[601] = 8
$spec.Customization.EncryptionKey[602] = -112
$spec.Customization.EncryptionKey[603] = 108
$spec.Customization.EncryptionKey[604] = 12
$spec.Customization.EncryptionKey[605] = 11
$spec.Customization.EncryptionKey[606] = 6
$spec.Customization.EncryptionKey[607] = -46
$spec.Customization.EncryptionKey[608] = -77
$spec.Customization.EncryptionKey[609] = -128
$spec.Customization.EncryptionKey[610] = -119
$spec.Customization.EncryptionKey[611] = 33
$spec.Customization.EncryptionKey[612] = -20
$spec.Customization.EncryptionKey[613] = -57
$spec.Customization.EncryptionKey[614] = 124
$spec.Customization.EncryptionKey[615] = -124
$spec.Customization.EncryptionKey[616] = -72
$spec.Customization.EncryptionKey[617] = -87
$spec.Customization.EncryptionKey[618] = 14
$spec.Customization.EncryptionKey[619] = -73
$spec.Customization.EncryptionKey[620] = 7
$spec.Customization.EncryptionKey[621] = 59
$spec.Customization.EncryptionKey[622] = -92
$spec.Customization.EncryptionKey[623] = -49
$spec.Customization.EncryptionKey[624] = 76
$spec.Customization.EncryptionKey[625] = -57
$spec.Customization.EncryptionKey[626] = 7
$spec.Customization.EncryptionKey[627] = 14
$spec.Customization.EncryptionKey[628] = 33
$spec.Customization.EncryptionKey[629] = -114
$spec.Customization.EncryptionKey[630] = 76
$spec.Customization.EncryptionKey[631] = 14
$spec.Customization.EncryptionKey[632] = 55
$spec.Customization.EncryptionKey[633] = -98
$spec.Customization.EncryptionKey[634] = 60
$spec.Customization.EncryptionKey[635] = -124
$spec.Customization.EncryptionKey[636] = -14
$spec.Customization.EncryptionKey[637] = -57
$spec.Customization.EncryptionKey[638] = -90
$spec.Customization.EncryptionKey[639] = -44
$spec.Customization.EncryptionKey[640] = 101
$spec.Customization.EncryptionKey[641] = -69
$spec.Customization.EncryptionKey[642] = 69
$spec.Customization.EncryptionKey[643] = 44
$spec.Customization.EncryptionKey[644] = 66
$spec.Customization.EncryptionKey[645] = -51
$spec.Customization.EncryptionKey[646] = -53
$spec.Customization.EncryptionKey[647] = -107
$spec.Customization.EncryptionKey[648] = 70
$spec.Customization.EncryptionKey[649] = -32
$spec.Customization.EncryptionKey[650] = 95
$spec.Customization.EncryptionKey[651] = -106
$spec.Customization.EncryptionKey[652] = 22
$spec.Customization.EncryptionKey[653] = 6
$spec.Customization.EncryptionKey[654] = -15
$spec.Customization.EncryptionKey[655] = 2
$spec.Customization.EncryptionKey[656] = 3
$spec.Customization.EncryptionKey[657] = 1
$spec.Customization.EncryptionKey[658] = 0
$spec.Customization.EncryptionKey[659] = 1
$spec.Customization.EncryptionKey[660] = -93
$spec.Customization.EncryptionKey[661] = -127
$spec.Customization.EncryptionKey[662] = -96
$spec.Customization.EncryptionKey[663] = 48
$spec.Customization.EncryptionKey[664] = -127
$spec.Customization.EncryptionKey[665] = -99
$spec.Customization.EncryptionKey[666] = 48
$spec.Customization.EncryptionKey[667] = 11
$spec.Customization.EncryptionKey[668] = 6
$spec.Customization.EncryptionKey[669] = 3
$spec.Customization.EncryptionKey[670] = 85
$spec.Customization.EncryptionKey[671] = 29
$spec.Customization.EncryptionKey[672] = 15
$spec.Customization.EncryptionKey[673] = 4
$spec.Customization.EncryptionKey[674] = 4
$spec.Customization.EncryptionKey[675] = 3
$spec.Customization.EncryptionKey[676] = 2
$spec.Customization.EncryptionKey[677] = 4
$spec.Customization.EncryptionKey[678] = -16
$spec.Customization.EncryptionKey[679] = 48
$spec.Customization.EncryptionKey[680] = 15
$spec.Customization.EncryptionKey[681] = 6
$spec.Customization.EncryptionKey[682] = 3
$spec.Customization.EncryptionKey[683] = 85
$spec.Customization.EncryptionKey[684] = 29
$spec.Customization.EncryptionKey[685] = 17
$spec.Customization.EncryptionKey[686] = 4
$spec.Customization.EncryptionKey[687] = 8
$spec.Customization.EncryptionKey[688] = 48
$spec.Customization.EncryptionKey[689] = 6
$spec.Customization.EncryptionKey[690] = -121
$spec.Customization.EncryptionKey[691] = 4
$spec.Customization.EncryptionKey[692] = -64
$spec.Customization.EncryptionKey[693] = -88
$spec.Customization.EncryptionKey[694] = 20
$spec.Customization.EncryptionKey[695] = 51
$spec.Customization.EncryptionKey[696] = 48
$spec.Customization.EncryptionKey[697] = 29
$spec.Customization.EncryptionKey[698] = 6
$spec.Customization.EncryptionKey[699] = 3
$spec.Customization.EncryptionKey[700] = 85
$spec.Customization.EncryptionKey[701] = 29
$spec.Customization.EncryptionKey[702] = 14
$spec.Customization.EncryptionKey[703] = 4
$spec.Customization.EncryptionKey[704] = 22
$spec.Customization.EncryptionKey[705] = 4
$spec.Customization.EncryptionKey[706] = 20
$spec.Customization.EncryptionKey[707] = 77
$spec.Customization.EncryptionKey[708] = 63
$spec.Customization.EncryptionKey[709] = 50
$spec.Customization.EncryptionKey[710] = 96
$spec.Customization.EncryptionKey[711] = -88
$spec.Customization.EncryptionKey[712] = 67
$spec.Customization.EncryptionKey[713] = -59
$spec.Customization.EncryptionKey[714] = 28
$spec.Customization.EncryptionKey[715] = 104
$spec.Customization.EncryptionKey[716] = 43
$spec.Customization.EncryptionKey[717] = 54
$spec.Customization.EncryptionKey[718] = -71
$spec.Customization.EncryptionKey[719] = 106
$spec.Customization.EncryptionKey[720] = -106
$spec.Customization.EncryptionKey[721] = 6
$spec.Customization.EncryptionKey[722] = -126
$spec.Customization.EncryptionKey[723] = -44
$spec.Customization.EncryptionKey[724] = -53
$spec.Customization.EncryptionKey[725] = 115
$spec.Customization.EncryptionKey[726] = -59
$spec.Customization.EncryptionKey[727] = 48
$spec.Customization.EncryptionKey[728] = 31
$spec.Customization.EncryptionKey[729] = 6
$spec.Customization.EncryptionKey[730] = 3
$spec.Customization.EncryptionKey[731] = 85
$spec.Customization.EncryptionKey[732] = 29
$spec.Customization.EncryptionKey[733] = 35
$spec.Customization.EncryptionKey[734] = 4
$spec.Customization.EncryptionKey[735] = 24
$spec.Customization.EncryptionKey[736] = 48
$spec.Customization.EncryptionKey[737] = 22
$spec.Customization.EncryptionKey[738] = -128
$spec.Customization.EncryptionKey[739] = 20
$spec.Customization.EncryptionKey[740] = -6
$spec.Customization.EncryptionKey[741] = 82
$spec.Customization.EncryptionKey[742] = 4
$spec.Customization.EncryptionKey[743] = 20
$spec.Customization.EncryptionKey[744] = -77
$spec.Customization.EncryptionKey[745] = 98
$spec.Customization.EncryptionKey[746] = 0
$spec.Customization.EncryptionKey[747] = -100
$spec.Customization.EncryptionKey[748] = 35
$spec.Customization.EncryptionKey[749] = 57
$spec.Customization.EncryptionKey[750] = 87
$spec.Customization.EncryptionKey[751] = 108
$spec.Customization.EncryptionKey[752] = -110
$spec.Customization.EncryptionKey[753] = -1
$spec.Customization.EncryptionKey[754] = -109
$spec.Customization.EncryptionKey[755] = 14
$spec.Customization.EncryptionKey[756] = -7
$spec.Customization.EncryptionKey[757] = 83
$spec.Customization.EncryptionKey[758] = 103
$spec.Customization.EncryptionKey[759] = -82
$spec.Customization.EncryptionKey[760] = 48
$spec.Customization.EncryptionKey[761] = 61
$spec.Customization.EncryptionKey[762] = 6
$spec.Customization.EncryptionKey[763] = 8
$spec.Customization.EncryptionKey[764] = 43
$spec.Customization.EncryptionKey[765] = 6
$spec.Customization.EncryptionKey[766] = 1
$spec.Customization.EncryptionKey[767] = 5
$spec.Customization.EncryptionKey[768] = 5
$spec.Customization.EncryptionKey[769] = 7
$spec.Customization.EncryptionKey[770] = 1
$spec.Customization.EncryptionKey[771] = 1
$spec.Customization.EncryptionKey[772] = 4
$spec.Customization.EncryptionKey[773] = 49
$spec.Customization.EncryptionKey[774] = 48
$spec.Customization.EncryptionKey[775] = 47
$spec.Customization.EncryptionKey[776] = 48
$spec.Customization.EncryptionKey[777] = 45
$spec.Customization.EncryptionKey[778] = 6
$spec.Customization.EncryptionKey[779] = 8
$spec.Customization.EncryptionKey[780] = 43
$spec.Customization.EncryptionKey[781] = 6
$spec.Customization.EncryptionKey[782] = 1
$spec.Customization.EncryptionKey[783] = 5
$spec.Customization.EncryptionKey[784] = 5
$spec.Customization.EncryptionKey[785] = 7
$spec.Customization.EncryptionKey[786] = 48
$spec.Customization.EncryptionKey[787] = 2
$spec.Customization.EncryptionKey[788] = -122
$spec.Customization.EncryptionKey[789] = 33
$spec.Customization.EncryptionKey[790] = 104
$spec.Customization.EncryptionKey[791] = 116
$spec.Customization.EncryptionKey[792] = 116
$spec.Customization.EncryptionKey[793] = 112
$spec.Customization.EncryptionKey[794] = 115
$spec.Customization.EncryptionKey[795] = 58
$spec.Customization.EncryptionKey[796] = 47
$spec.Customization.EncryptionKey[797] = 47
$spec.Customization.EncryptionKey[798] = 49
$spec.Customization.EncryptionKey[799] = 57
$spec.Customization.EncryptionKey[800] = 50
$spec.Customization.EncryptionKey[801] = 46
$spec.Customization.EncryptionKey[802] = 49
$spec.Customization.EncryptionKey[803] = 54
$spec.Customization.EncryptionKey[804] = 56
$spec.Customization.EncryptionKey[805] = 46
$spec.Customization.EncryptionKey[806] = 50
$spec.Customization.EncryptionKey[807] = 48
$spec.Customization.EncryptionKey[808] = 46
$spec.Customization.EncryptionKey[809] = 53
$spec.Customization.EncryptionKey[810] = 49
$spec.Customization.EncryptionKey[811] = 47
$spec.Customization.EncryptionKey[812] = 97
$spec.Customization.EncryptionKey[813] = 102
$spec.Customization.EncryptionKey[814] = 100
$spec.Customization.EncryptionKey[815] = 47
$spec.Customization.EncryptionKey[816] = 118
$spec.Customization.EncryptionKey[817] = 101
$spec.Customization.EncryptionKey[818] = 99
$spec.Customization.EncryptionKey[819] = 115
$spec.Customization.EncryptionKey[820] = 47
$spec.Customization.EncryptionKey[821] = 99
$spec.Customization.EncryptionKey[822] = 97
$spec.Customization.EncryptionKey[823] = 48
$spec.Customization.EncryptionKey[824] = 13
$spec.Customization.EncryptionKey[825] = 6
$spec.Customization.EncryptionKey[826] = 9
$spec.Customization.EncryptionKey[827] = 42
$spec.Customization.EncryptionKey[828] = -122
$spec.Customization.EncryptionKey[829] = 72
$spec.Customization.EncryptionKey[830] = -122
$spec.Customization.EncryptionKey[831] = -9
$spec.Customization.EncryptionKey[832] = 13
$spec.Customization.EncryptionKey[833] = 1
$spec.Customization.EncryptionKey[834] = 1
$spec.Customization.EncryptionKey[835] = 11
$spec.Customization.EncryptionKey[836] = 5
$spec.Customization.EncryptionKey[837] = 0
$spec.Customization.EncryptionKey[838] = 3
$spec.Customization.EncryptionKey[839] = -126
$spec.Customization.EncryptionKey[840] = 1
$spec.Customization.EncryptionKey[841] = 1
$spec.Customization.EncryptionKey[842] = 0
$spec.Customization.EncryptionKey[843] = 114
$spec.Customization.EncryptionKey[844] = 41
$spec.Customization.EncryptionKey[845] = -27
$spec.Customization.EncryptionKey[846] = -80
$spec.Customization.EncryptionKey[847] = -85
$spec.Customization.EncryptionKey[848] = -73
$spec.Customization.EncryptionKey[849] = -19
$spec.Customization.EncryptionKey[850] = -113
$spec.Customization.EncryptionKey[851] = 35
$spec.Customization.EncryptionKey[852] = 13
$spec.Customization.EncryptionKey[853] = 38
$spec.Customization.EncryptionKey[854] = -47
$spec.Customization.EncryptionKey[855] = 43
$spec.Customization.EncryptionKey[856] = 41
$spec.Customization.EncryptionKey[857] = 92
$spec.Customization.EncryptionKey[858] = 73
$spec.Customization.EncryptionKey[859] = 83
$spec.Customization.EncryptionKey[860] = 105
$spec.Customization.EncryptionKey[861] = 99
$spec.Customization.EncryptionKey[862] = -22
$spec.Customization.EncryptionKey[863] = 10
$spec.Customization.EncryptionKey[864] = 46
$spec.Customization.EncryptionKey[865] = 3
$spec.Customization.EncryptionKey[866] = 61
$spec.Customization.EncryptionKey[867] = -4
$spec.Customization.EncryptionKey[868] = 84
$spec.Customization.EncryptionKey[869] = 80
$spec.Customization.EncryptionKey[870] = -45
$spec.Customization.EncryptionKey[871] = -47
$spec.Customization.EncryptionKey[872] = -49
$spec.Customization.EncryptionKey[873] = -42
$spec.Customization.EncryptionKey[874] = -23
$spec.Customization.EncryptionKey[875] = 77
$spec.Customization.EncryptionKey[876] = -24
$spec.Customization.EncryptionKey[877] = -46
$spec.Customization.EncryptionKey[878] = -77
$spec.Customization.EncryptionKey[879] = -89
$spec.Customization.EncryptionKey[880] = -107
$spec.Customization.EncryptionKey[881] = 62
$spec.Customization.EncryptionKey[882] = -106
$spec.Customization.EncryptionKey[883] = -102
$spec.Customization.EncryptionKey[884] = -80
$spec.Customization.EncryptionKey[885] = 113
$spec.Customization.EncryptionKey[886] = -16
$spec.Customization.EncryptionKey[887] = -86
$spec.Customization.EncryptionKey[888] = 4
$spec.Customization.EncryptionKey[889] = -100
$spec.Customization.EncryptionKey[890] = -115
$spec.Customization.EncryptionKey[891] = 116
$spec.Customization.EncryptionKey[892] = -122
$spec.Customization.EncryptionKey[893] = 30
$spec.Customization.EncryptionKey[894] = -30
$spec.Customization.EncryptionKey[895] = 51
$spec.Customization.EncryptionKey[896] = -20
$spec.Customization.EncryptionKey[897] = -95
$spec.Customization.EncryptionKey[898] = -96
$spec.Customization.EncryptionKey[899] = -114
$spec.Customization.EncryptionKey[900] = 28
$spec.Customization.EncryptionKey[901] = 111
$spec.Customization.EncryptionKey[902] = -51
$spec.Customization.EncryptionKey[903] = -122
$spec.Customization.EncryptionKey[904] = -100
$spec.Customization.EncryptionKey[905] = 127
$spec.Customization.EncryptionKey[906] = 66
$spec.Customization.EncryptionKey[907] = 73
$spec.Customization.EncryptionKey[908] = -73
$spec.Customization.EncryptionKey[909] = -15
$spec.Customization.EncryptionKey[910] = -31
$spec.Customization.EncryptionKey[911] = -58
$spec.Customization.EncryptionKey[912] = -106
$spec.Customization.EncryptionKey[913] = 80
$spec.Customization.EncryptionKey[914] = -90
$spec.Customization.EncryptionKey[915] = 92
$spec.Customization.EncryptionKey[916] = 21
$spec.Customization.EncryptionKey[917] = -122
$spec.Customization.EncryptionKey[918] = 92
$spec.Customization.EncryptionKey[919] = 104
$spec.Customization.EncryptionKey[920] = -103
$spec.Customization.EncryptionKey[921] = 102
$spec.Customization.EncryptionKey[922] = 52
$spec.Customization.EncryptionKey[923] = -62
$spec.Customization.EncryptionKey[924] = -60
$spec.Customization.EncryptionKey[925] = 93
$spec.Customization.EncryptionKey[926] = -5
$spec.Customization.EncryptionKey[927] = 36
$spec.Customization.EncryptionKey[928] = -117
$spec.Customization.EncryptionKey[929] = -60
$spec.Customization.EncryptionKey[930] = 40
$spec.Customization.EncryptionKey[931] = 5
$spec.Customization.EncryptionKey[932] = 81
$spec.Customization.EncryptionKey[933] = -79
$spec.Customization.EncryptionKey[934] = 35
$spec.Customization.EncryptionKey[935] = -106
$spec.Customization.EncryptionKey[936] = 2
$spec.Customization.EncryptionKey[937] = 86
$spec.Customization.EncryptionKey[938] = -68
$spec.Customization.EncryptionKey[939] = -91
$spec.Customization.EncryptionKey[940] = -115
$spec.Customization.EncryptionKey[941] = -19
$spec.Customization.EncryptionKey[942] = 76
$spec.Customization.EncryptionKey[943] = 117
$spec.Customization.EncryptionKey[944] = -77
$spec.Customization.EncryptionKey[945] = -10
$spec.Customization.EncryptionKey[946] = 89
$spec.Customization.EncryptionKey[947] = 98
$spec.Customization.EncryptionKey[948] = 123
$spec.Customization.EncryptionKey[949] = -66
$spec.Customization.EncryptionKey[950] = -113
$spec.Customization.EncryptionKey[951] = -124
$spec.Customization.EncryptionKey[952] = -58
$spec.Customization.EncryptionKey[953] = -107
$spec.Customization.EncryptionKey[954] = -15
$spec.Customization.EncryptionKey[955] = 112
$spec.Customization.EncryptionKey[956] = 96
$spec.Customization.EncryptionKey[957] = 35
$spec.Customization.EncryptionKey[958] = -31
$spec.Customization.EncryptionKey[959] = 15
$spec.Customization.EncryptionKey[960] = -82
$spec.Customization.EncryptionKey[961] = 60
$spec.Customization.EncryptionKey[962] = 87
$spec.Customization.EncryptionKey[963] = 99
$spec.Customization.EncryptionKey[964] = 69
$spec.Customization.EncryptionKey[965] = -102
$spec.Customization.EncryptionKey[966] = 25
$spec.Customization.EncryptionKey[967] = -24
$spec.Customization.EncryptionKey[968] = 11
$spec.Customization.EncryptionKey[969] = 44
$spec.Customization.EncryptionKey[970] = -100
$spec.Customization.EncryptionKey[971] = 32
$spec.Customization.EncryptionKey[972] = 66
$spec.Customization.EncryptionKey[973] = 18
$spec.Customization.EncryptionKey[974] = 116
$spec.Customization.EncryptionKey[975] = 54
$spec.Customization.EncryptionKey[976] = -52
$spec.Customization.EncryptionKey[977] = 60
$spec.Customization.EncryptionKey[978] = -90
$spec.Customization.EncryptionKey[979] = 12
$spec.Customization.EncryptionKey[980] = 57
$spec.Customization.EncryptionKey[981] = 73
$spec.Customization.EncryptionKey[982] = -127
$spec.Customization.EncryptionKey[983] = -78
$spec.Customization.EncryptionKey[984] = -86
$spec.Customization.EncryptionKey[985] = -10
$spec.Customization.EncryptionKey[986] = -106
$spec.Customization.EncryptionKey[987] = 71
$spec.Customization.EncryptionKey[988] = -21
$spec.Customization.EncryptionKey[989] = 18
$spec.Customization.EncryptionKey[990] = -23
$spec.Customization.EncryptionKey[991] = -32
$spec.Customization.EncryptionKey[992] = -71
$spec.Customization.EncryptionKey[993] = -79
$spec.Customization.EncryptionKey[994] = 24
$spec.Customization.EncryptionKey[995] = -7
$spec.Customization.EncryptionKey[996] = 41
$spec.Customization.EncryptionKey[997] = 118
$spec.Customization.EncryptionKey[998] = 79
$spec.Customization.EncryptionKey[999] = 103
$spec.Customization.EncryptionKey[1000] = -24
$spec.Customization.EncryptionKey[1001] = -89
$spec.Customization.EncryptionKey[1002] = -63
$spec.Customization.EncryptionKey[1003] = 108
$spec.Customization.EncryptionKey[1004] = -74
$spec.Customization.EncryptionKey[1005] = 82
$spec.Customization.EncryptionKey[1006] = -96
$spec.Customization.EncryptionKey[1007] = 93
$spec.Customization.EncryptionKey[1008] = -127
$spec.Customization.EncryptionKey[1009] = 118
$spec.Customization.EncryptionKey[1010] = -123
$spec.Customization.EncryptionKey[1011] = 125
$spec.Customization.EncryptionKey[1012] = 101
$spec.Customization.EncryptionKey[1013] = -27
$spec.Customization.EncryptionKey[1014] = 26
$spec.Customization.EncryptionKey[1015] = -125
$spec.Customization.EncryptionKey[1016] = 73
$spec.Customization.EncryptionKey[1017] = 19
$spec.Customization.EncryptionKey[1018] = -43
$spec.Customization.EncryptionKey[1019] = 53
$spec.Customization.EncryptionKey[1020] = -99
$spec.Customization.EncryptionKey[1021] = 125
$spec.Customization.EncryptionKey[1022] = -72
$spec.Customization.EncryptionKey[1023] = -126
$spec.Customization.EncryptionKey[1024] = 29
$spec.Customization.EncryptionKey[1025] = 115
$spec.Customization.EncryptionKey[1026] = -79
$spec.Customization.EncryptionKey[1027] = 87
$spec.Customization.EncryptionKey[1028] = 19
$spec.Customization.EncryptionKey[1029] = 122
$spec.Customization.EncryptionKey[1030] = -79
$spec.Customization.EncryptionKey[1031] = -124
$spec.Customization.EncryptionKey[1032] = 21
$spec.Customization.EncryptionKey[1033] = 43
$spec.Customization.EncryptionKey[1034] = 78
$spec.Customization.EncryptionKey[1035] = -19
$spec.Customization.EncryptionKey[1036] = 39
$spec.Customization.EncryptionKey[1037] = -33
$spec.Customization.EncryptionKey[1038] = 12
$spec.Customization.EncryptionKey[1039] = -92
$spec.Customization.EncryptionKey[1040] = 111
$spec.Customization.EncryptionKey[1041] = 115
$spec.Customization.EncryptionKey[1042] = 115
$spec.Customization.EncryptionKey[1043] = -48
$spec.Customization.EncryptionKey[1044] = 89
$spec.Customization.EncryptionKey[1045] = -85
$spec.Customization.EncryptionKey[1046] = 74
$spec.Customization.EncryptionKey[1047] = -51
$spec.Customization.EncryptionKey[1048] = 54
$spec.Customization.EncryptionKey[1049] = -119
$spec.Customization.EncryptionKey[1050] = 96
$spec.Customization.EncryptionKey[1051] = -116
$spec.Customization.EncryptionKey[1052] = -4
$spec.Customization.EncryptionKey[1053] = 62
$spec.Customization.EncryptionKey[1054] = -66
$spec.Customization.EncryptionKey[1055] = 112
$spec.Customization.EncryptionKey[1056] = -66
$spec.Customization.EncryptionKey[1057] = 30
$spec.Customization.EncryptionKey[1058] = -114
$spec.Customization.EncryptionKey[1059] = -52
$spec.Customization.EncryptionKey[1060] = 100
$spec.Customization.EncryptionKey[1061] = 44
$spec.Customization.EncryptionKey[1062] = 1
$spec.Customization.EncryptionKey[1063] = 53
$spec.Customization.EncryptionKey[1064] = -94
$spec.Customization.EncryptionKey[1065] = 93
$spec.Customization.EncryptionKey[1066] = 43
$spec.Customization.EncryptionKey[1067] = -115
$spec.Customization.EncryptionKey[1068] = 99
$spec.Customization.EncryptionKey[1069] = -123
$spec.Customization.EncryptionKey[1070] = 29
$spec.Customization.EncryptionKey[1071] = -16
$spec.Customization.EncryptionKey[1072] = 22
$spec.Customization.EncryptionKey[1073] = -97
$spec.Customization.EncryptionKey[1074] = 57
$spec.Customization.EncryptionKey[1075] = 6
$spec.Customization.EncryptionKey[1076] = -19
$spec.Customization.EncryptionKey[1077] = 31
$spec.Customization.EncryptionKey[1078] = 50
$spec.Customization.EncryptionKey[1079] = -7
$spec.Customization.EncryptionKey[1080] = 69
$spec.Customization.EncryptionKey[1081] = -76
$spec.Customization.EncryptionKey[1082] = 9
$spec.Customization.EncryptionKey[1083] = -43
$spec.Customization.EncryptionKey[1084] = 123
$spec.Customization.EncryptionKey[1085] = 99
$spec.Customization.EncryptionKey[1086] = -66
$spec.Customization.EncryptionKey[1087] = -66
$spec.Customization.EncryptionKey[1088] = 116
$spec.Customization.EncryptionKey[1089] = -127
$spec.Customization.EncryptionKey[1090] = -98
$spec.Customization.EncryptionKey[1091] = -121
$spec.Customization.EncryptionKey[1092] = 41
$spec.Customization.EncryptionKey[1093] = 113
$spec.Customization.EncryptionKey[1094] = -40
$spec.Customization.EncryptionKey[1095] = 8
$spec.Customization.EncryptionKey[1096] = 92
$spec.Customization.EncryptionKey[1097] = 46
$spec.Customization.EncryptionKey[1098] = -91
$spec.Customization.GlobalIPSettings = New-Object VMware.Vim.CustomizationGlobalIPSettings
$spec.Location = New-Object VMware.Vim.VirtualMachineRelocateSpec
$spec.Location.Disk = New-Object VMware.Vim.VirtualMachineRelocateSpecDiskLocator[] (1)
$spec.Location.Disk[0] = New-Object VMware.Vim.VirtualMachineRelocateSpecDiskLocator
$spec.Location.Disk[0].DiskBackingInfo = New-Object VMware.Vim.VirtualDiskFlatVer2BackingInfo
$spec.Location.Disk[0].DiskBackingInfo.FileName = ''
$spec.Location.Disk[0].DiskBackingInfo.ThinProvisioned = $true
$spec.Location.Disk[0].DiskBackingInfo.DiskMode = ''
$spec.Location.Disk[0].Datastore = New-Object VMware.Vim.ManagedObjectReference
$spec.Location.Disk[0].Datastore.Type = 'Datastore'
$spec.Location.Disk[0].Datastore.Value = 'datastore-12'
$spec.Location.Disk[0].DiskId = 2000
$spec.Location.Datastore = New-Object VMware.Vim.ManagedObjectReference
$spec.Location.Datastore.Type = 'Datastore'
$spec.Location.Datastore.Value = 'datastore-12'
$spec.Location.DeviceChange = New-Object VMware.Vim.VirtualDeviceConfigSpec[] (0)
$spec.Location.Host = New-Object VMware.Vim.ManagedObjectReference
$spec.Location.Host.Type = 'HostSystem'
$spec.Location.Host.Value = 'host-11'
$spec.Location.Pool = New-Object VMware.Vim.ManagedObjectReference
$spec.Location.Pool.Type = 'ResourcePool'
$spec.Location.Pool.Value = 'resgroup-10'
$_this = Get-View -Id 'VirtualMachine-vm-16'
$_this.CloneVM_Task($folder, $name, $spec)
#----------------- End of code capture -----------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment