What are the differences between "PowerState" and "Guest.State" when I run the powercli command Get - VM

I run the script following powercli: -.

Get - VM | Export-Csv-path c:\test.csv - NoTypeInformation - UseCulture

And from there I found 2 properties that describe the State of the virtual machine;

1 PowerState which can be either; Receiving or PoweredOff

2 Guest.State, which can be either; running or not

Can someone so advice on the differences between these two properties? Could I have for example a VM with PowerState = PowerOn, and that his Guest.State = no run?

PowerState if the State of the virtual machine itself.

Documentation Centre of vSphere 6.0

PoweredOff

Receptor

Suspeneded

Everything about .guest is achieved through VMware tools and provide information to the OS itself.

(VMware tools must be installed and working properly in the operating system to get whatever it is this property)

Documentation Centre of vSphere 6.0

Keep

Reset

Running

ShuttingDown

Standby

Unknown

Could I have for example a VM with PowerState = PowerOn, and that his Guest.State = no run?

Yes.

For example, if a virtual computer is started and VMware tools have never been installed on it, it will signal exactly that.

From the vSphere Client, you will get in the summary > General > VMware Tools

Does not not (not installed)

You will get more information using the API via PowerCLI.

. extensiondata.runtime.PowerState #poweredON

. extensiondata.guest.GuestState #notRunning

. extensiondata.guest.ToolsStatus #toolsNotInstalled

Tags: VMware

Similar Questions

  • What are the benefits I get with the current plan

    How can I use all the benefits of my plan, I bought?

    Hi Imelda.

    I checked your account; you have a subscription Pack PDF Adobe. Here are the details on this online service: create, export, merge, edit and protect PDF files. Adobe Acrobat

    To access the service, you can connect via a web browser to https://cloud.acrobat.com/createpdf.

    Best,

    Sara

  • What are the keyboard commands to apply the outline of the elements

    I can't see a list of keyboard commands that can be used to apply elements of contour as scene position, Action, character, etc.

    Is there a quick reference list somewhere?

    Thank you

    Check this: http://helpx.adobe.com/story/help/keyboard-shortcuts.html

  • What is the difference between task and Service?

    What is the difference between task and Service? When we use the task and that we should use the Service? Thank you ~ ~

    See the StackOverflow question:

    Task vs. Service

    You may also interest somewhat related:

    Difference between javafx.concurrent and Platform.runLater

  • What are the "exclusive" for the version of the Apple Watch Nike Siri?

    I'm interested in the Nike + version of the series 2 Apple Watch, but not knowing if additional features are really a selling point for me. I have connected more than 2000 miles on the Nike application on my iPhone, so I will definitely stay with the same application on the watch... but what are the commands of Siri for Nike + which won't be available for non-Nike version?

    Hello

    During the keynote of yesterday, it was mentioned that a shortcut to start a race is just tell Siri to 'run '.

    In addition, neither Nike nor Apple has yet specified what are the other commands.

  • How to produce the result of the PowerCLI command in an email?


    Hello world

    Can someone give me help with this example. I started working with PowerCLI and I struggle out of my result in an e-mail message.

    How can I store my result in the array and import the data in HTML in an email?

    In the example below, I don't see any results in the email of the powercli command "Get - VM |" Select-Object Name, NumCPU, MemoryMB, ProvisionedSpaceGB.

    I have to create a loop to retrieve the result?

    # - CHANGE THESE VALUES.
    $SMTPServer = "SMTP.toto.com".
    $vCenterServerName1 = "vsphere1.toto.com".
    $ToAddress = [email protected]
    #-----------------------------------------------------------------------------

    $Title = "connection settings for vCenter.
    $Author = "lady".
    $Header = "connection settings".

    $Login = [email protected]# for domain WHICH
    $Password = "xxxxxxxxxx #

    Add-pssnapin VMware.VimAutomation.Core

    $HTMLHeader = "< HTML > < report VMware TITLE > < /title >"
    $HTMLFooter = 'Made with the Script POWERSHELL 2.0 - Version of the script' + $ScriptVersion + ' < / HTML > ".

    $ScriptVersion = "v1.0".
    $Subject = 'VMware - VM inventory report'
    $FromAddress = "VMware" + "@ foo.com.

    $ColorArray = 'Red', 'Orange', 'Purple', 'Blue', 'Olive', 'SlateGrey', 'Orange', 'Purple', 'Blue', 'Olive '.
    $ColorArrayIndex = 0

    $HTMLHeader = "< HTML > < TITLE > VMware Report for ' + $vCenterServerName1 ' < / TITLE >.
    $HTMLFooter = "Made with POWERCLI Script 5.0" - + $Author + ".." < br > < br > ".
    $HTMLFooter += ' < B > NOTE: < /B > $Date < / HTML > ".


    $HTMLBody = "< BODY >".

    $vCenter_inventory = @(get-VM |) Name Select-Object, NumCPU, MemoryMB, ProvisionedSpaceGB)

    ################################### OUTPUT #######################################

    # HEADER
    $HTMLBody += CreateHeader ("REPORT for < font color = blue > < b > vCENTER" + $vCenterServerName1 + ' < / police > < / b > < br > "" ")

    # INTRO TEXT

    $HTMLBody += ' < br br > > <.
    $HTMLBody += $vCenter_inventory


    # SEND THE REPORT BY E-MAIL.
    $HTMLBody += ' < / BODY > "# close HTML body
    $HTMLPage = $HTMLHeader + $HTMLBody + $HTMLFooter
    Send-Mailmessage-to $FromAddress - to $ToAddress - subject $Subject - BodyAsHTML-body $HTMLPage - normal priority - SmtpServer $SMTPServer
    Write-Host "report was sent by E-mail to '$ToAddress' to ' $FromAddress
    ################################### CLEANUP #######################################

    $HTMLHeader = «»
    $HTMLBody = «»
    $HTMLFooter = «»
    $HTMLPage = «»
    $vCenter1_Inventory = «»
    $vCenterServerName1 = «»

    -Very well, cutting some of your code, it works for me in any case:

    # This sets the format of the HTML table

    "$Header = @".

    TITLE


    "@

    # The data collection

    $vCenter_inventory = get - VM | Select-Object Name, NumCPU, MemoryMB, ProvisionedSpaceGB

    # Convert to HTML format

    $HTML = $vCenter_inventory | ConvertTo-HTML-Fragment

    # Prepare Mail Message

    $Message = "from the random text."

    "$Body = $Header +""+ $Message +"

    "+ $HTML +""

    $smtpServer = "smtpserver".

    $HostName = $env: ComputerName

    $From = $HostName + "@littlenickey.se."

    $To = "[email protected]".

    # Send Message

    Send-MailMessage - SmtpServer $smtpServer - $From - to $To - subject $Subject - body $Body - BodyAsHtml

    This should give you a little nicer output in the form of a table.

  • What are the differences between TNT5002 and TNT5004

    Hello

    I am the design of an interface card that will include two controllers GPIB (TNT5002) who will work on PCIe via PEX8112 (PCIe to PCI bridge) and have several questions on the forum:

    1. I use TNT5004 on their advice, but only offer tnt5002 purchase, what are the differences between them?
    2. Are there other relevant chips best suited to implement PCIe two interface GPIB?

    Danny

    The technical reference manual can be found here:

    http://www.NI.com/PDF/manuals/370595b.PDF

    I wasn't able to find reference material for this chip models. If there is, it's probably only for the GPIB to PCI.

  • What is the difference between AXIEM and EMSIght? What are the benefits of AXIEM by EMSight if any?

    I wonder what are the differences between AXIEM and EMSight. Are associated with application? One is better than the other? Please explain.

    AWR estimated AXIEM most powerful plan EM Simulator around.   AXIEM is at the center of continuous research and improvement, while EMSight is only worked on if revealed serious flaws.  Here is a summary of the differences:

    Mesh

    • EMSight must mesh the nearest grid drivers using rectangles.  This causes the mesh to have more elements mesh when there are small and large geometries.  The grid should be small enough to capture the small geometry but then causes large geometries to mesh more.   In addition, angled or curved structures causes inefficiencies mesh.

    • AXIEM STS forms, rather than a grid.  In addition, the mesh can be rectangle or triangle.   This allows a much more efficient mesh.   AXIEM generally have a much more efficient

    • AXIEM contains the ability to process forms to clean geometries that cause inefficiencies of the mesh.  EMSight does not have this feature.

    • AXIEM can forms thick metal mesh, EMSight can not, and user must make approximations when thick metal will change coupling (loss is recorded properly with the thickness of the metal)

    Ports

    • The ports are for the most part similar, but parasites due on AXIEM ports are less.  In addition, the AXIEM has a side wall, thus the effects of not move of the terms of reference of the edge of the line are a lot less AXIEM in.

    • Ports can be added to most any place in geometry with AXIEM.  For EMSight, the ports are usually only added outside the geometry and have limitations to the aircraft on either side of the reference speaker.

    Problem solvers

    • EMSight does not have a low frequency Solver.  Stop low-frequency and then extrapolate to DC.  This usually works well, but you must take into account if the extrapolation is accurate.  AXIEM presents both a low and high frequency Solver so will do better in a low frequencies generally much better in DC.

    • Solver of EMSight scales O (n) ^ 2 for memory and O (n) ^ 3 for the moment.   It has a special algorithm to break the question of memory, but the question of time is the killer.  AXIEM has a direct Solver which scales in the same way and an iterative Solver which will scale O (nlogn).   In other words, AXIEM can solve a lot of bigger problems than EMSight.

    • Several AXIEM processes are multithreaded as EMSight.

    Speaker

    • EMSight is inside a perfect driver side wall.   This works well if you the circuit is in the same cavity.  If not, you must know the rules of them on to the forms of space of the flanks and how that much to extend the port could reference planes.   AXIEM is not here.   AXIEM does not currently have to simulate a perfect driver side wall.

    I don't know that I missed a few aspects of the tools.   From the point of view of the AWR that AXIEM is the tool of choice, except in a few cases have been EMSight may be required.

  • What are the practical differences between SEL20F28 and SEL16F28?

    What are the practical differences between SEL20F28 and SEL16F28?

    The 20 is much sharper on the edges and less vignetting.

    The 20 also provides more convenient angle of view walk-around lens.

  • What are the functional differences between 'Microsoft Research détours' and the alternative open-source 'EasyHook?

    What are the functional differences, if any, between MS detours and the alternative open source EasyHook?

    http://www.microsoftstore.com/store/msusa/en_US/PDP/Microsoft-Research-detours-v3-professional/ProductID.253663300

    https://easyhook.github.IO/index.html

    This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)
    *
  • What are the differences between the services and site domain group policy and group policy?

    What are the differences between the services and site domain group policy and group policy?

    Server must wonder about the Technet site.  http://social.technet.Microsoft.com/forums/en-us/home

  • What are the differences between Windows 7 and Windows 8?

    What are the new features coming in windows 8? How is - this windows 8 is going to be better than winows 7? What are the main differences between winows 7 and winows 8? It'll be a mojor design?

    Hello

    Microsoft has not released any details about 8. All the information I've seen on the internet about 8
    were conjecture or an outing right hoax.

  • HOW smart card smart card slots look like? What are the differences between smart card slots and cards express?

    HOW smart card smart card slots look like? What are the differences between smart card slots and cards express?

    Hi Smitty,

    Yes, so ExpressCard is an interface that has a USB port to this topic where I can plug in external devices to be attached to my computer right? I did a search on google but could not find photo Card Slot smart. I need a picture to get an idea of how look like a smart card Slot.

    Next time try BING...

    http://tinyurl.com/95rgwxw
    http://tinyurl.com/9plc7zt

    http://tinyurl.com/8h96qsr

    Scroll to the left view (image 5)

    http://support.Dell.com/support/eDOCS/systems/latd610/en/ug_en/about.htm

  • What are the differences between RT and Win 8 Pro?

    RT

    What are the differences between RT and Win 8 Pro?

    Windows 8 - this runs on processors traditional x 86 - x 64 for Intel and AMD, and the same apps that runs on Windows 7, Vista, and Windows XP.

    Windows RT - built on the same basis as Windows 8, it works on a different processor called ARM and not running programs in Windows 7, Vista, or Windows XP. In addition, it comes with Microsoft Office 2013 while Windows 8 does not work. It only comes on the new devices, in contrast to Windows 8 you can buy a license for an existing computer.

  • What are the differences between pga memory max session and pga session in memory?

    Hi all

    What are the differences between pga memory max session and pga session in memory?

    SELECT s.sid, n.name, s.value FROM v$ sesstat s, v$ statname n

    WHERE s.statistic # = n.statistic #.

    AND n.name = 'pga session in memory. "

    SELECT s.sid, n.name, s.value FROM v$ sesstat s, v$ statname n

    WHERE s.statistic # = n.statistic #.

    AND n.name = 'pga memory max session ";



    Note that I have read the documentation. However, it is not clearly explained.


    Thank you

    John Stegeman wrote:

    I agree with the comments of the Ed, NightWing.

    You do not have a story to ask questions that are clearly answered in the documentation.

    Mind your own business. If you answer the question, so answer! Otherwise, please stop the thread engrossing.

Maybe you are looking for