Sajith-P's Posts

Have you got a fix for this error Regards, Sajith
Not yet.. Are you getting similar error?
  Hi Team, I'm trying to set the value of disable blast secure gateway to False using PowerCLI . The code i'm trying to use is below $ViewAPI = $global:DefaultHVServers.ExtensionData $List = $Vie... See more...
  Hi Team, I'm trying to set the value of disable blast secure gateway to False using PowerCLI . The code i'm trying to use is below $ViewAPI = $global:DefaultHVServers.ExtensionData $List = $ViewAPI.ConnectionServer.ConnectionServer_List().Id $Update = new-object VMware.Hv.MapEntry $update.key = "General.BypassTunnel" $update.value = $False $ViewAPI.ConnectionServer.ConnectionServer_Update($List,$update) But when i try updating the BypassTunnel value, getting below error $ViewAPI.ConnectionServer.ConnectionServer_Update($List,$update) MethodInvocationException: Exception calling "ConnectionServer_Update" with "2" argument(s): "ExceptionType : VMware.Hv.InvalidArgument ErrorMessage : Invalid member name. ParameterName : BypassTunnel" Any help to fix this error is highly appreciated Regards, Sajith
Hi Team, I'm trying to set the value of disable blast secure gateway to False using PowerCLI . The code i'm trying to use is below $ViewAPI = $global:DefaultHVServers.ExtensionData $List = $ViewAP... See more...
Hi Team, I'm trying to set the value of disable blast secure gateway to False using PowerCLI . The code i'm trying to use is below $ViewAPI = $global:DefaultHVServers.ExtensionData $List = $ViewAPI.ConnectionServer.ConnectionServer_List().General $Update = new-object VMware.Hv.MapEntry $update.key = "General.BypassTunnel" $update.value = $False $ViewAPI.ConnectionServer.ConnectionServer_Update($List,$update) But when i try updating the BypassTunnel value, getting below error $ViewAPI.ConnectionServer.ConnectionServer_Update($List,$update) MethodException: Cannot convert argument "id", with value: "VMware.Hv.ConnectionServerGeneralData", for "ConnectionServer_Update" to type "VMware.Hv.ConnectionServerId": "Cannot convert the "VMware.Hv.ConnectionServerGeneralData" value of type "VMware.Hv.ConnectionServerGeneralData" to type "VMware.Hv.ConnectionServerId"." Any help to fix this error is highly appreciated Regards, Sajith
Thanks for your response!  I tried with the changes you suggested but still no luck Enter login information for target vi://d4pcijiltanzuvc1.kyndryl.lab/ Username: administrator%40vsphere.local P... See more...
Thanks for your response!  I tried with the changes you suggested but still no luck Enter login information for target vi://d4pcijiltanzuvc1.kyndryl.lab/ Username: administrator%40vsphere.local Password: ******** Error: Locator does not refer to an object: vi://administrator%40vsphere.local@d4pcijiltanzuvc1.kyndryl.lab:443/d4pcijiltanzudc1/cluster1/d4pcijiltanzuesxi1.kyndryl.lab Completed with errors Regards, Sajith
Hi vDruid, Attaching mu vSphere inventroy structure fyr. As per the command syntax, "/host' is a part of syntax.  PS /home/VDIAutomation/UAG/Powershell/uagdeploy> ovftool vi://administrator@vsphere... See more...
Hi vDruid, Attaching mu vSphere inventroy structure fyr. As per the command syntax, "/host' is a part of syntax.  PS /home/VDIAutomation/UAG/Powershell/uagdeploy> ovftool vi://administrator@vsphere.local@10.191.82.3/d4pcijiltanzudc1/ Enter login information for source vi://10.191.82.3/ Username: administrator%40vsphere.local Password: ******** Error: Found wrong kind of object (Datacenter). Possible completions are: vm/ host/ PS /home/VDIAutomation/UAG/Powershell/uagdeploy> Regards,Sajith
Hi Team, I'm trying to deploy unified access gateway using uagdeploy.ps1 script. While executing the script , getting below error Username: administrator%40vsphere.local Password: ******** Error:... See more...
Hi Team, I'm trying to deploy unified access gateway using uagdeploy.ps1 script. While executing the script , getting below error Username: administrator%40vsphere.local Password: ******** Error: Locator does not refer to an object: vi://administrator%40vsphere.local@10.191.82.3:443/d4pcijiltanzudc1/host/cluster1/d4pcijiltanzuesxi1.kyndryl.lab :PASSWORD Completed with errors   The input parameter what i'm giving in .INI file is a below target=vi://administrator@vsphere.local@10.191.82.3/d4pcijiltanzudc1/host/cluster1/d4pcijiltanzuesxi1.kyndryl.lab :PASSWORD.   Is there any syntax error in this command? Any help on this is highly appreciated   Regards, Sajith
Hi, I'm trying to add entitlements  using below command however getting an error.  New-HVEntitlement -User vdi-users@vdi.lab -ResourceName $PoolName -Confirm:$false Unable to find specific user or... See more...
Hi, I'm trying to add entitlements  using below command however getting an error.  New-HVEntitlement -User vdi-users@vdi.lab -ResourceName $PoolName -Confirm:$false Unable to find specific user or group with given search parameters   Any help on this is highly appreciated Regards, Sajith
Hello, I am trying to register an administrator in the horizon administrator console using powercli. Below is the script i'm using to achieve this task, however getting an invalid credentials error.... See more...
Hello, I am trying to register an administrator in the horizon administrator console using powercli. Below is the script i'm using to achieve this task, however getting an invalid credentials error. However i'm able to add same account manually. Any help on this is highly appreciated. $ViewAPI.InstantCloneEngineDomainAdministrator.InstantCloneEngineDomainAdministrator_Create($spec) MethodInvocationException: Exception calling "InstantCloneEngineDomainAdministrator_Create" with "1" argument(s): "ExceptionType : VMware.Hv.InvalidArgument ErrorMessage : {#INVALID_CREDENTIALS#} Invalid credentials for username administrator on domain vdi.lab (VDI) ParameterName : base.password" Script ======       $ICEDAdminUsername = "administrator"       $ICEDAdminPassword = "VMware1!"       $ICEDAdminPassword = ConvertTo-SecureString $ICEDAdminPassword -AsPlainText -Force       $ICEDomainname = "vdi.lab"       $TempPasswd = [System.Runtime.InteropServices.Marshal]::SecureStringToBSTR($ICEDAdminPassword)       $PlainICAPassword = [System.Runtime.InteropServices.Marshal]::PtrToStringAuto($TempPasswd)       $ICadminPassword = New-Object VMware.Hv.SecureString       $encrypted = [system.Text.Encoding]::UTF8       $ICadminPassword.Utf8String = $encrypted.GetBytes($PlainICAPassword)       $spec=new-object vmware.hv.InstantCloneEngineDomainAdministratorSpec       $spec.base=new-object vmware.hv.InstantCloneEngineDomainAdministratorBase       $ViewAPI = $global:DefaultHVServers.ExtensionData       $spec.base.domain=(($ViewAPI.ADDomain.addomain_list() | where {$_.DnsName -eq $ICEDomainname} | select-object -first 1).id)       $spec.base.username=$ICEDAdminUsername       $spec.base.password=$ICadminPassword       $ViewAPI.InstantCloneEngineDomainAdministrator.InstantCloneEngineDomainAdministrator_Create($spec)    
Thanks Mickeybyte for your help!!! The issue has been fixed.   Regards, Sajith
Hello, I'm trying to automate the connection server using ansible . it tries to use port 80 for the installation by default however port 80 was already occupied by http service. Is there a way to ch... See more...
Hello, I'm trying to automate the connection server using ansible . it tries to use port 80 for the installation by default however port 80 was already occupied by http service. Is there a way to change the default port for connection server from 80 to any other port. The command i'm using for installation is as below   c:\Installers\VMware-Horizon-Connection-Server-x86_64-8.8.0-21073894.exe /s /v" /QN FWCHOICE=1 VDM_SERV ER_INSTANCE_TYPE=1 VDM_INITIAL_ADMIN_SID="S-1-5-32-544" VDM_SERVER_RECOVERY_PWD="passwd" VDM_SERVER_RECOVERY_PWD_REM INDER="reminder""