ESXi host object VirtualMachine information draft

Hi all

You do not know if this is the right forum or not, but I'm going to pull all the host information for a VM instance selected in c#.

For example, I have the following code:

IList<VMware.Vim.EntityViewBase> vms = vmwareClient.FindEntityViews(typeof(VMware.Vim.VirtualMachine), null, null, null);

foreach (VMware.Vim.EntityViewBase tmp in vms) {
VMware.Vim.VirtualMachine vm = (VMware.Vim.VirtualMachine)tmp;
}

I understand that the vm is a VirtualMachine type, but I'm also keen to refer to values provided in HostSystem object type.

How to enumerate an object of HostSystem making reference to my VirtualMachine object?  The reasoning in the research the host of the object information VirtualMachine is that if I pull the list of virtual machines from one instance of vCenter, the virtual machine may refer to another host.

Thanks in advance!

-ToTheCloud

Hi ToTheCloud,

In order to solve the HostSystem who is responsible to perform a VirtualMachine I suggest property path: VM.runtime.host

Hope this is what you are looking for.

--

Thomas G.

Tags: VMware

Similar Questions

  • Need help PowerCLI with recovery ESXi host Asset Tag Info

    In the hope that someone, anyone, will be able to help me understand what I can do wrong and how to use PowerCLI to retrieve valid ESXi host Asset Tag information that appears in the tab material status vCenter. I have absolutely no problem of recovery of the serial numbers of host (sometimes referred to as Service Tags), manufacture, model, part, build, etc., but don't can't seem to be able to interrogate the current numbers of inventory number .

    None of the following attributes or property values currently returned the information required and which exists (see image below):

    Hardware.SystemInfo.OtherIdentifyingInfo [0]. IdentifierValue

    Hardware.SystemInfo.OtherIdentifyingInfo [1]. IdentifierValue

    Hardware.SystemInfo.OtherIdentifyingInfo [2]. IdentifierValue

    Hardware.SystemInfo.OtherIdentifyingInfo | where {$_.} IdentifierType.Key - eq "assettag" IdentifierValue})

    vCenter Server Hardware Status Tab - Asset Tag Info.png

    This is the script that I am running. I used PowerCLI Version 5.1:

    $VIServer = 'enter vCenter Server Name'


    # Add component snap kernel PowerCLI
    If (!) () Get-pssnapin-name VMware.VimAutomation.Core - erroraction silentlycontinue)) {}
    Add-pssnapin VMware.VimAutomation.Core
    }

    SE connect-VIServer $VIServer

    $HostReport = @)

    $VMH = get-VMHost | Get-View | % {}

    $Report = "" | Select the host name, Version, build, manufacture, model, series, Asset Tag

    $Report.Hostname = $_. Name

    $Report.version = $_. Config.Product.Version

    $Report.Build = $_. Config.Product.Build

    $Report.manufacture = $_. Hardware.SystemInfo.Vendor

    $Report.Model = $_. Hardware.SystemInfo.Model

    $Report.Serial = $_. Hardware.SystemInfo.OtherIdentifyingInfo [0]. IdentifierValue

    $ Tag = Report.Asset?

    $HostReport += $Report

    }

    $HostReport | Export-Csv «.\HostReport.csv"- NoTypeInformation

    Disconnect-VIServer-confirm: $false

    Ron thx.

    As far as I know, has nothing to do with PowerCLI, this is how vCenter gets this information, and how and where some HW providers make this information available.

    With the interface of the CIM, you can dump all the available information and then find exactly the tag died murdered.

    See what this returns

    import-module CimCmdlets$esxiHostname = "MyESXiServer"$HostUsername = "root"$CIOpt = New-CimSessionOption -SkipCACheck -SkipCNCheck -SkipRevocationCheck -Encoding Utf8 -UseSsl$Session = New-CimSession -Authentication Basic -Credential $HostUsername -ComputerName $esxiHostname -port 443 -SessionOption $CIOptGet-CimInstance -CimSession $Session -ClassName CIM_Chassis
    

    You will be asked the password root ESXi.

    On some of our older IBM HW, I get the following where we expect the identification sticker.

    But the information is there, just to another property.

    As we have already mentioned our VMworld session, exploring the CIM API.

    There is a lot of information in there

  • ESXi host information

    I'm looking to add the following properties of this report for the ESXi host data:

    Get-vmhost | Select the name,

    @{N=' Compute Cluster name ';} E={$_. {{Parent }}

    I would also add these properties:

    • IP address of management
    • Service tag
    • BIOS version
    • The BIOS release date
    • NTP servers
    • Primary DNS server
    • Secondary DNS server
    • Areas of DNS lookup
    • Field of active Dirctory host is attached to

    How can I include these 9 goods because I don't see them when I run a get-Member on my vmhost object?

    Thank you!

    You can check the model in a RegEx switch build. Something like that

    Get-VMHost | Select Name,    @{N="Compute Cluster Name";E={$_.Parent}},    @{N="Management IP address";E={        [string]::Join(',',(Get-VMHostNetworkAdapter -VMHost $_ |        Where {$_.ManagementTrafficEnabled} | %{$_.IP}))}},        @{N="Service Tag";E={        switch -regex ($_.ExtensionData.Hardware.SystemInfo.Model) {            "^bl685" {                $index = $index_bl685            }            "^othermodel" {                $index = $index_other            }        }        $_.ExtensionData.Hardware.SystemInfo.OtherIdentifyingInfo[$index].IdentifierValue}},        @{N="Bios Version";E={$_.ExtensionData.Hardware.BiosInfo.BiosVersion}},        @{N="Bios Release Date";E={$_.ExtensionData.Hardware.BiosInfo.ReleaseDate}},        @{N="NTP Servers";E={[string]::Join(',',($_.ExtensionData.Config.DateTimeInfo.NtpConfig.Server))}},        @{N="Primary DNS Server";E={$_.ExtensionData.Config.Network.DnsConfig.Address[0]}},        @{N="Secondary DNS Server";E={$_.ExtensionData.Config.Network.DnsConfig.Address[1]}},        @{N="DNS Search Domains";E={[string]::Join(',',($_.ExtensionData.Config.Network.DnsConfig.SearchDomain))}},        @{N="Active Dirctory Domain";E={$_.ExtensionData.Config.AuthenticationManagerInfo.AuthConfig |        Where {$_ -is [VMware.Vim.HostActiveDirectoryInfo]} |        Select -ExpandProperty JoinedDomain    }}
    

    Put more RegEx matches that you need and for each specify you the correct index.

  • Change the path information for ESX ESXi hosts to access

    Hello all! I hope you guys can help me.

    I have about 47 hosts that I need to change it Round Robin storage path information. If I make the change in vCenter and restart the host it again changing fixed. So, I thought that I should change it to the level of the host through esxicli.

    I have about twice as many LUNS of the Hitachi SAN. I'd like to see if it is possible to make the change in all areas, in some way, or I need to make the change by host? Also, is there anything that I need to change sides San so that it works or not.

    I saw this VMware KB: modification of path information for ESX/ESXi hosts to access and assume that it is the best plan? But did not know of all put into custody, if necessary, that everyone ran to when doing this?

    You will need to make the change by the host and the KB you'll find is the right method.

  • Objective 7.1 - guarantee the issue of ESX/ESXi hosts

    Hey all,.

    I am currently working on my study guide for the DCA review and have fallen somewhat with the ESX/ESxi Secure objective 7.1 hosts and more specifically the section for "Customize SSH Seetings for increased security. The only documentation I could find about it is in the "ESX Configuration Guide" on page 202 and the VMware KB 1017910. In ESX config guide details how to REDUCE the requirements of security on default (allowing root access, change the version of the SSH protocol, etc.), and the article explains how to set a timeout for the technical support of Mode (both local and remote). I guess these aren't the types of answers they seek, as the section is to increase the level of security.

    Any clarification or possilbe advice that anyone could offer would be greatly appreciated.

    TIA,

    -Jason

    *My apologies if this question type should not be displayed, if not please delete*.

    Hello

    Although I know the stuff covered there is it. Sean sound passed without problem, and a number of friends who have passed the exam, they all used the same resources covered in that and passed fine. But maybe other people who wrote it can contribute and who may be able to add something?

  • Retrieve message to ESXi host Summary tab "Configuration issues."

    Using VMware Perl SDK API, how to get the message of 'Problems of Configuration' tab summary ESXi host?

    For example, I have an ESXi host disconnected from the cluster, and in the summary for this host tab, there 'Problems of Configuration' message "disconnected from esxi_hostname in esx_clustername." "Reason: expired license."

    Is it possible to recover the message above through Perl SDK API? The host is already disconnected from the cluster, not sure if this is possible.

    Yes, you can take a look at the configIssue (http://vijava.sourceforge.net/vSphereAPIDoc/ver5/ReferenceGuide/vim.ManagedEntity.html#configIssue) for the object HostSystem connecting to vCenter, i.e. When this information appears. It contains a table of configuration problems and it is exposed in the API, which means that it can be accessed by using one of our SDKs including the vSphere SDK Perl

  • OME 1.3: update R910 5.5 ESXi host through iDrac fails

    OME 1.3 fees deployed on a Server R2 Windows Server 2012. OME server is in the same subnet as the iDRAC.

    OMSA agent for ESXi 5.5 deployed, but not relevant since the updates of the system OME uses iDRAC for ESXi hosts.

    The R910 was discovered and inventoried by WS - MAN on iDRAC and OMSA bot successfully.

    Trying to make an update of the system. I find the server in noncompliant systems, select it, select all 4 applicable updates.

    I apply and provide the login of the iDRAC.

    The task fails with errors below:

    -J' tried with the online catalogue Dell as well as a local Manager of Repositry

    -J' noticed that the 4 updates all point to pacaages in. EXE format. Since the deployment through iDRAC they shouldn't be. BIN files?

    Results:
    Download the packages.
    The call of method InstallFromUri to download packages to the iDRAC

    Error occurred: A security error occurred
    Username and password are not valid or

    The component that is being updated is not valid. Re-run the inventory in order to determine the correct component, and then try again

    Error occurred: A security error occurred
    Username and password are not valid or

    The component that is being updated is not valid. Re-run the inventory in order to determine the correct component, and then try again

    Error occurred: A security error occurred
    Username and password are not valid or

    The component that is being updated is not valid. Re-run the inventory in order to determine the correct component, and then try again

    Error occurred: A security error occurred
    Username and password are not valid or

    The component that is being updated is not valid. Re-run the inventory in order to determine the correct component, and then try again
    Check the following: entered credentials are valid, iDRAC is accessible from the host OME and iDRAC is in good condition. IDRAC was unable to download all the packages.
    The task of software update failed.

    Hi Roger,

    Two questions:

    • What is the version of your R910 iDRAC6?
    • If you run the following command, then what is the result you get?

    WinRM e cimv2/root/dcim/DCIM_LifecycleJob - u: - p: - r: https: / //wsman:443 - SkipCNCheck - SkipCACheck - SkipRevocationCheck - auth: base - encoding: utf-8

    • Is it possible to restart your server? If so, can you check if CSIOR is enabled on the server and are you able to see running system services?

    You can get information about CSIOR on this link:

    http://en.community.Dell.com/TechCenter/systems-management/f/4494/p/19515744/20413397.aspx#20413397

  • 6u2 ESXi host nested on VMware Workstation for Linux referee v12

    Hello all, I have

    I have a lab environment virtual running in VMware Workstation for Linux v12, and my ESXi hosts do not work correctly on one of the virtual networks. All my troubleshooting suggests a problem with nested ESXi hosts that may be a bug, but I want to assure you that I did everything properly first. That's why I post here with the hope that if I made a mistake that maybe someone else can point out he me.

    Physical system

    8 core Intel Xeon 2.1 GHz CPU

    128 GB of RAM

    OS - kernel Linux 64 - bit w/3.19.0-32-generic Linux Mint 17.3 (fully updated from this announcement)

    VMware Workstation 12 Pro - 12.1.1. Build-3770994 (fully updated from this announcement)

    Nested ESXi host VM

    ESXi v6.0.0 (Build 3825889, completely updated from this announcement)

    4 cards 'physical' (only 3 used for now)

    -all use the e1000 NIC hardware virtual, but also tried vmxnet3 NIC with no difference

    -vSwitch0 use vmnic0 & 1 vmnet16 of virtual network in a pair of active / standby

    -vSwitch1 uses vmnic2 on network virtual vmnet18

    -vmk0 used for management on vSwitch0 and vmk1 for iSCSI on vSwitch1

    -"Promiscuous" mode and forged passes enabled on all Port vSwitch groups (activating or turning off these features makes no difference)

    Test performed until now

    I checked that all the IP addresses and network masks used are correct.

    With the help of vmkping I ping other nodes on the network vmnet16 with success.

    With the help of vmkping I tried to ping the other nodes in the network vmnet18, but that has failed.

    I have depolyed other non - ESXi VMs on the vmnet18 network, and they are able to ping each other, but are unable to ping or ping by the ESXI host.

    I tried various material virtual NIC as mentioned before, but without changes in the results.

    I tried to use only local network instead of the vmnet18 guest network segments with no change in results.

    When I find out the status of the network adapters on the ESXi host through vCenter or host incorporated client vmnic0 & 1 time display network information, but vmnic2 shows no networks. Yet, I know that there is a network with different VM communicate on it. Moreover, I was able to get all of this work on a Windows system running 10 Workstation (this is the laptop that my employer gives me with).

    Having built nested ESXi labs on different platforms as well as physical environments in the past, I'm very confused as to why I can't get this special configuration to work. At this point my gut tells me that this is probably a bug any with the nested themselves ESXi hosts. Since I can get all this work on vmnet16 including the management of ESXi hosts and the VCSA that I use, I am sure that my vSwitch configuration is correct (other than the IP address space and vmnic configurations is bascially the same). Because I can get other virtual machines to communicate over the network vmnet18 I don't see how can be a VMware Workstation for the issue physical Linux host. Is there something obvious I'm missing here? I read on the ESXi hosts nested under VMware Workstation after having known problems and bugs with networking. If anyone else has experienced this?

    Thanks for any help others can provide!

    Kind regards

    Patrick

    Well, the problem is now resolved. The problem was what covelli was trying to explain, but I couldn't because the physical host network adapters being mentioned.

    The problem on the Linux host, but it was a problem of permissions with the virtual Ethernet adapters. The following article has the fix:
    With the help of Ethernet virtual cards in Promiscuous Mode on a Linux host (287) | VMware KB

    Even if I launched the workstation under the root user I have yet met this problem and which still makes no sense to me, but change the permissions solve the problem. I was not getting an error message on my Linux Mint and Ubuntu system, but when I tried on a second box of Linux Mint that I just got the error has been generated, and the error message was the above link it contains.

    So, here's what I learned:

    (1) the question has nothing to with a VMware Workstation definition that you can configure.

    (2) the question has nothing to do with a physical network card.
    (3) the question has nothing to do with any vmnic on the nested ESXi host.

    (4) apparently virtual Ethernet adapters are not the correct permissions when created.

    All you have to do to fix this is:

    (1) open a terminal.

    (2) run the command ' sudo chmod a + rw/dev/vmnet * "(don't forget to run this each time that you create a new virtual network).

    You can also create a group, as shown in the link above and simply give this group the correct permissions. Personally, I think it's easier to just give everyone the rw permission.

    I appreciate the help that others have offered. I did not understand what was asked for in previous answers because of the terms that have been used.

  • 6.0 ESXi hosts are no longer

    Hello world!

    I have a problem with VMware ESXi 6.0.

    I have a VMware Cluster with 3 6.0 ESXi host. Last night 2 ESXi host has become unresponsive. ESXi hosts concerned, responds to the ping, but unplug vCenter, unable to connect directly to the client host with vSphere and unresponsive on DCUI. The VMs - running concerned guests - became unresponsive (VMware HA cannot restart VMs, because the host has locked the VMs file). Only solution: reset the hosts. After hard reset hosts, HA restart VM on another host and host affected normal work. The problem occurd when high e / s (backup, at the level of the files inside the virtual machine) on HBA.

    In the /var/log/vmkernel.log , I see a lot of messages both "crash":

    WARNING: lpfc: lpfc_sli_issue_abort:9956: 1:3169 Abort failed: Abort INP: data: x 0 xcd0 x 8 x 98

    ScsiPath: 7133: Set retry timeout for demolition of TaskMgmt failed for CmdSN 0x0, State failure, path vmhba5:C0:T0:L0

    The configuration of the hosts:

    Host type: IBM x 3850 X 5

    VMware version: Lenovo ESXi 6.0 custom + VMware ESXi 6.0 Express Patch 2

    CF: 2 * Emulex LightPulse FC SCSI 10.4.236.0 IBM 0494 42 8 GB 2-port PCIe FC HBA for System x Emulex firmware version: 2.02X11 version of the Emulex driver: 10.4.236.0 - 1OEM.600.0.0.2159203

    The host firmware versions are later.

    VMware installed on a USB stick (clean install, not upgraded), LOG dir on the CF data store.

    The storage and the side FC switches have no error/warning message.

    I see the VMware KB 2086025 and 2125904. In this KB article the symptoms are very similar to our situation, but our guests have the most recent version of the Emulex driver (KB articles: version prior to 10.2.340.18, our 10.4.236.0 version)

    I tried the latest Emulex firmware (version: 10.6.126.0, install and reboot host) but the host crash again and the same newspaper as above.

    Today a new problem, when I collect information on diagnosis (registers of export) of the host:

    • first of all welcome: unplug vCenter for seconds 3 times (State of heartbeat), and download of the newspaper failed, when the host disconnect, virtual machines (which run on this host) does not not on LAN
    • second host: connect download start, after the 10-minute purple screen:

    purple_screen.png

    I have found no solution.

    Any ideas?

    Thanks for your help!

    Have you seen the question of host unresponse before 6.0 updated. If not, I suspect strongly this is due to "VMware KB: ESXi 6.0 the network connectivity is lost with the NETDEV WATCHDOG timeouts in the vmkernel.log". Try upgrading to the latest version 6.0 that contains the fix for this.

    The purple screen could be a different product bug and I doubt that it does not always happen. Based on the screenshot, it looks like collection Journal (vm-support) was going through some of the nodes of the VSI and failed at this point. So this issue could happen specifically only during some invocation of vm-support. Good to raise a complaint with the help of VMware.

  • Renaming of ESXi hosts to vCloud 5.5 Hosting Manager

    Hello world

    I wanted to know if anyone has experienced problems when you rename the hosts ESXi who is restoring the vCloud Director environment?

    Our names for the Server naming convention has changed and it is now mandatory to rename all VMware ESXi hosts.

    All the information/help will be very appreciated!

    Thank you

    United Nations prepare a crowd of vCD, move it cluster at the data center level, then it reboot.  After that, do all your work in renaming (certs, hostname, IP address management, etc.).  Adding this back in is the reverse... put it in the cluster and prepare it to vCD.

  • ESXi host security

    What is a good strategy to use AD to authenticate access to an ESXi host?  (I don't want to use root).  Can I create multiple groups in AD with different levels of privileges to access an ESXi host using SSH?  Or can I only use the ESXADMINS of the group do?

    Thank you!

    Hello

    Fixing a VMDK broken-> glass break

    Configuration of the equipment of CLI-> break glass

    With the help of AD does not lighten the need to reset the password every day 50 +. That will still happen. AD simply adds the ability to add other users who are managed remotely, it does not control 'root '. So you still have to do that. This is why I don't really like integrate AD ESXi, I rather integrate HyTrust and let HyTrust manage my passwords. It will change them automatically for you every X days. It will be Thycotic and Xceedium actually. Two other password systems. You can already use one in your store, if you do, see if it will work with ESXi.

    Regarding the ESXCLI, some esxcli orders can be executed with nothing more than your credentials of vCenter. Some require 'root' access to run. Even user access may not work. If you use the vSphere Management Assistant, you can control who does what on a host as well. I prefer it on powershell. Or sit on a Windows or Linux host vCLI. I have this and the use of powershell. Adapt the tool to the solution. I use them all according to what it takes. My scanner to 'security' for example uses vCLI/SDK on Linux and uses your credentials from vCenter for most. If it requires identification information specific vSphere I report only to VMware to solve.

    I'd build my own tool using puppets, Chief, or Perl and wait for it to change passwords, set the new password in an encrypted safe and another tool to recover, connect through a proxy and capture my actions for the purposes of audit, can once again change the password automatically with 50 + guests. Again, it is a glass break situation that requires additional verification. All of these features can be duplicated using the free tools and a little ingenuity, but it can just take the time to do.

    Best regards
    Edward L. Haletky
    VMware communities user moderator, VMware vExpert 2009, 2010, 2011,2012,2013,2014

    Author of the books ' VMWare ESX and ESXi in the business: Planning Server Virtualization Deployment, Copyright 2011 Pearson Education. ' Of VMware VSphere and Virtual Infrastructure Security: securing the virtual environment ', Copyright 2009 Pearson Education.

    Virtualization and Cloud Security Analyst: The Practice of virtualization, LLC - vSphere Upgrade Saga - virtualization security Table round Podcast

  • How to get the material status of ESXi host of external surveillance system?

    Hello!

    I've got hardware ESXi host information (for example, CPU, disk, etc.)

    that I want back outside a vCenter/ESXi for an external monitoring system.

    I really really slighty possible via Powershell saw...

    Thanks for your help!

    Hello

    the link that I commented, explian how to monitor the status of the ESXi hardware by using the cmdlets for powershell CIM 3.0.

    Not the virtual machines

    This, will you?

    Check this code from the link, you should notice that connects to an esxi host, not virtual machines:

    import-moduleCimCmdlets
    2 $ipaddress="10.20.177.15"
    3 $HostUsername="root"
    4 $CIOpt= New-CimSessionOption-SkipCACheck -SkipCNCheck -SkipRevocationCheck -EncodingUtf8-UseSsl
    5 $Session= New-CimSession-Authentication Basic -Credential $HostUsername -ComputerName $Ipaddress -port 443-SessionOption$CIOpt
    6 Get-CimInstance-CimSession$Session-ClassNameCIM_Fan

    Best regards

    Pablo

  • Problem adding free ESXi host of AD domain

    I have previously create the computer object in active directory. I then connect 5.5 ESXi free edition host by using the .net client, from there I can join my domain host name successfully.

    success.PNG

    But try to do the same to PowerCLI when you are connected to the host as root, you receive an error

    Get-VMHost | Get-VMHostAuthentication | Set-VMHostAuthentication -Domain "domain.com" -Credential (Get-Credential) -JoinDomain
    

    Game-VMHostAuthentication: 24/03/2014-16:16:15 Set-VMHostAuthentication

    The current permit or ESXi version prohibited the execution of the requested operation.

    On line: 1 char: 41

    + get-vmhost | Get-VMHostAuthentication | Game-VMHostAuthentication-domain

    " ...

    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    ~~~

    + CategoryInfo: NotSpecified: (:)) [game-VMHostAuthentication], Re)

    strictedVersion

    + FullyQualifiedErrorId: ViCore_SystemManagementServiceImpl_JoinDomain_Vi

    Error, VMware.VimAutomation.ViCore.cmdlets.Commands.Host.SetVMHostAuthentication

    ---------------------------------------------------------------

    I see the error indicates "current license or ESXi version prohibited the execution of the operation requested." but it works since the .net client and I have not read anything indicating that you cannot add to esxi hosts free domain. I also used JoinDomain_task method and you still receive the same error

    $ADCreds = Get-Credential
    $Domain = "Domain.com"
    $AuthObj = Get-View -Id 'HostActiveDirectoryAuthentication-ha-ad-auth'
    $AuthObj.JoinDomain_Task($Domain, $ADCreds.GetNetworkCredential().username, $ADCreds.GetNetworkCredential().password)
    

    We the ESXi free license limits is the fact that there not a 'API write. "

    This means no changes through CLI, PowerCLI and other tools that use the API.

  • Update VSAN task configuration failed for ALL 3 ESXI hosts

    I enabled VSANS on the cluster, but the task of updating VSAN configuration failed with the below error

    Operation failed, the diagnostic report: not associate the host to the cluster VSAN (Exec command "/etc/init.d/vsanvpd restart" succeeded, but came back with zero State: 1).

    On all esxi hosts 3, I can see a warning

    Host is in an active VSAN cluster but doesn't have a Service of active VSAN

    Please help me fix this isseu... I need all the VSAN here experts... I do not find a troubleshooting for this issue.

    This information was supposed to do in the VSAN Release Notes, although I must admit that I don't check that they exist.

    Here's a post I made on the memory requirements which came into force for GA

    Part 14 & #8211 VSAN. Memory of the host requirements. CormacHogan.com

  • Change the password for root to an ESXi host

    Hello

    I need help to get a script VCO that change password for root to an ESXi host.

    In PowerCLI is the Set-VMHostAccount cmdlet. I searched in VCO API... I have not found or something similar.

    I found the object of VcHostAccountSpec but seems it only works with "Host Profiles" and my licenses are Standard and Enterprise.

    http://www.VMware.com/support/Orchestrator/doc/vco_vsphere51_api/HTML/VcHostAccountSpec.html

    Any idea?

    Thanks, Roberto

    Another option would be to connect to the ESXi host with vCO plugin SSH and run the command "passwd" remotely. Haven't tried, but in theory, it should work.

    @Tim - we try to keep the compatibility of the existing whenever possible plug-ins vCO so PowerShell module should work with the latest vCO relies.

Maybe you are looking for