Retrieve the State of the power supply

Hello

I am currently using the wonderful listVMByFolder script (http://communities.vmware.com/docs/DOC-10059), and I would like to know how I can retrieve the State of each virtual machine supply, I have the list. I've been using the Perl SDK for about 2 days (Yes, there is not a lot), and while I understand how I would 'normally', I don't do not understand how to retrieve this information while being in such a statement:

If ($child_view-> isa ("VirtualMachine"))
{
# Some code here
}

How can I retrieve this information because I don't really work on a VM object, that I would find in any tutorial out there, like something like this:


My $vms = Vim::find_entity_views (view_type = > 'VirtualMachine');

foreach (@$vms)

{

Print "VM:". "." $_-> config-> name. ", powerstate:". "." $_-> performance - > powerState-> val. "\n";

}

I thank you and have a nice day!

Was just when I saw that you caught the misspelling

Tags: VMware

Similar Questions

  • Satellite L750 slows after plugging in the power supply

    Hello everyone

    It's almost a year since I have TOSHIBA L750-12 model q PSK2YE-05P00RPL.
    Since the beginning, I noticed strange shares: when the battery becomes low at 10% and I plug the power supply everything starts to work slowly (for example I can see frames when using the webcam)
    also, web sites load very slowly or not at all. It's doing my work on laptop almost impossible.
    When this problem occurs, there are a few bugs in Event Viewer:

    Event 37, kernel-processor-Power
    "The speed of the CPU 0 in group 0 is restricted by the system firmware. The processor is in this state of reduced performance for 71 seconds since the last report. »

    I thought it was the power supply problem or motherboard to power so I sent the laptop to the service. Technical support only changed the BIOS to version 3.60 [there is not an another atm version] and he has not solved anything.
    I searched the internet and I found that this failure can occur because of the Enhanced Intel SpeedStep Technology option, but unfortunately I can not disable it in the BIOS.

    I read that there was problem simillar with for example Portege R835-P84 and new BIOS helped and solved this.

    Please help :(

    PS Sorry for my English.

    I also imagine that new and modified BIOS can help with this, but if Toshiba doesn't offer it there is nothing you can do, especially with the SpeedStep technology options.

    Maybe stupid question now, but when you connect the battery change the plan power high performance is a laptop s performance difference?

  • Get an error "the AC power adapter type cannot be determined" lack of the power supply or laptop AC adapter/Power Supply / load disconnected

    * Original title: error when the Power AC Adapter (DA130PE1-100) is unable to connect to the DELL laptop

    Hello

    I use the operating system Windows 7 Home Premium 64 - bit with the i5-2450 M CPU @2.50 GHz. Intel processor recently passed 1 month, I noticed an error in the laptop lacks the power supply or laptop AC adapter/Power Supply / load disconnected

    Can you please let us know why the error is the filler and help us solve the problem.

    I have the DELL AC/DC adapter model number (DA130PE1-100) CN-0ju012-48661-22B-6WRV-A06

    Thank you

    Kalyan

    Kalyan,

    This could be hardware related.

    I suggest you to contact Dell Support and check if there is no hardware problem.

    Please update with the State.

  • Satellite M30X: fans do not stop if plugged into the power supply

    Hello

    I have a M30X and months fans when I'm connected to the power supply do not stop. It's also stopping often enough. However, the laptop is not hot. Do you have any idea?
    Kind regards

    Armando

    Hello

    If you connect the adapter to the laptop of Toshiba power saver change consumption patterns. Maybe the power mode with a different setting in the a? Basic setupa?. Please check the cooling method and change it to lower the level.

    But of course, the dust and debris could have a bad influence on fan behavior.

  • Satellite A30 213: broken in the power supply pin

    I have so many problems with this.
    I'd rather put it in the trash than to fix it, but unfortunately I have important documents that I have not saved.

    Basically, the PIN into the Jack of the laptop is broken and I can't be able to my laptop and my battery is running out of power

    The battery is in the battery-compatible A30 - 213 in the A30 714?

    And someone has other solutions?

    Please answer as soon as possible

    Hello

    First of all a few words about the battery.
    If I m not wrong not the Satellite A30 213 uses the same battery as the A30-714.
    Therefore, you should be able to use the same battery in both units A30.

    With regard to the question on another solution.
    Well, there is only one real solution. The power supply needs to be replaced.
    I m not sure if it s only plugged or soldered on the map. However, I recommend you contact the ASP in your country for assistance.
    This should be always replaced by a mobile technician because the dismantling procedure is very delicate and difficult.

    Best regards and good luck

  • Re: Satellite P850 full face feels 'sparkling' when it is connected to the power supply

    Hello

    I recently bought a P850 138.
    Whenever the power supply is connected and turned on the laptop case computer feels strange to the touch, and if you move your hand through it, as you often eventually do during the strike, etc., you get this weird 'static' y feeling.

    When you are disconnected from the power grid the sensation continues for a short while, but soon after the case feels just like normal metal again.

    I guess that something happens which is originally the case become statically charged, but does anyone have any ideas as to why what is happening? Is this a common problem?

    Any ideas?

    Thank you very much in advance for your answers

    Hi neh23

    It's the first time I read on this subject and in my opinion its definitely not a portable common behavior I think you should get in touch with a Toshiba service provider in your country to check the laptop.

  • How to change the power supply to the CD/DVD drive so that it is disabled by default?

    When running on battery I often use the icon 'Remove hardware safely' XP to 'unplug' the carpet * CD/DVD drive for Safe some battery life. (Does?) I use Fn + Tab to bring back to life. I wonder if there is a way to make my boot Notebook (M400) with the power supply to the reader off by default. Moreover, any idea where I can find the extra battery for the slot of the CD/DVD player and who the price?

    Thanks in advance for your help.

    Hello, Robert

    If you see the start page, you will see that this support forum is not a type of support Toshiba directly but forum users. But you're not alone and many users expect that a Toshiba support team sit in the office and before writing the answers.

    In any case, there are many users of Toshiba laptops with very good knowledge and also amateurs who are trying to help the other guys in different problems and also to share own experience.

    Professionalism is not the forum but action when you need help because of physical damage or something similar. If you need assistance and competent answers each authorized partner must be able to provide the info you need. But please don t mixture and Toshiba service partner because it is not the same.

    In any case, I found the info you can use additional (second battery expansion) and it takes batteries with PA3510U-1BAL, PA3510U-1BRL room numbers. I can't tell you how much it costs, but you will find only using Google.

    Back to your first question: if I understand you just want to save more power and because of this, you want to sign out ODD. It's a nice idea, but you have clearly misunderstood something. "Safely Remove Hardware option is there to help the operating system and and say this material, a part will be removed and don t exist anymore, but it does not physically the disconnection of any other material."

    If you need more power use a second battery and enjoy your life.

    If you have any other questions you are welcome. A lot of users here M400 and I hope in the future that some of them will participate in a little more.

    Good day! :)

  • Satellite A500 - battery light flashes when connected to the power supply

    Win 7 Satellite A500 PSAM3A-03P00E.

    Battery light flashes when connected to the power supply (intermittent fault), when I disconnect the sector and reconnect the flashing stops and battery (high capacity) continues to receive.

    Also, when battery light blinks the keyboard backlight stays on when it should white and if the backlight is turned off and the battery light starts to blink the keyboard backlight turns on, all other functions seem to work well.

    Charges of battery and the wedges load properly (when the battery flashes).

    Hello

    Have you noticed this problem since the first day of purchase?
    Theoretically, it could be possible that your battery begins to malfunction
    On the other hand, an electrical problem could also be possible

    However, try this:
    Remove the battery and the AC adapter. Then press and hold button power 30 sec long.
    Then insert the battery and plug AC adapter still does that help?

    By the way: this is the BIOS updated? If this isn't the case, perform an update.

  • Power of the power supply

    Model:-CQ3217In

    Product #:-BK260AA #ACJ

    so I opened my cpu case and looked at my diet but I found no sticker that specify the power of the power supply.

    I've already changed my motherboard but I have not changed psu it is the same as when I bought this pc.

    I just want to update my nvidia gtx 650 ti graphics card 1 gb gddr5 requiring a 400w power supply

    So, I just want to know power psu.

    While I can't find your exact model, after some research I found that other positions to work in the CQ3000 series power supplies with a capacity of 180 to 250 watts, so let me one educated guess your model probably has also a PUA below 400 watts.

  • Satellite L350-21F NO CONNECT the power SUPPLY

    The computer tells me in Windows it is not connected to the power supply, even if it is connected. I tried with and without battery, also the power icon is not lit, and now the battery is almost empty. The computer worked for the past 6 years and now all of a sudden what happens.

    Can you help me how to find which component does not work? What are the factors despite the adapter are possible because of this problem and how can I know?

    Thank you in advance.
    Elenktik

    Hello

    I think first of all you must check if the adapter is OK.
    The Satellite L350 requires a 6.32 A AC adapter 19V

    Possible part number: PA3290E-3AC3

  • HP Envy 750-116: can anyone recommend an upgrade of the power supply for HP Envy 750-116?

    I have a HP Envy Office 750-116 and need to replace the power supply 300W with an upgrade to a more powerful.

    I was look at is CORSAIR CXM CX550M 550W 80 PLUS BRONZE or the EVGA SuperNOVA 650 G2 80 series. I have kniow that they are all two excellent PSU.

    My concern is with the connector that the 750-116 uses to the optical drive. Looks like the kind of connector you see go to a laptop, DVD player. (It of really small and is marked P5)  I have a spare part HP 460W PSU I could use, but it is not a connector that would work. So I hesitate to buy Corsair or the EVGA without knowing if I'll be able to plug into this weird DVD connector in the HP Envy.

    Someone out there has run into that and find an answer?

    Bill

    Optical drives are still a thing? Wow! Any ways OP. On these new machines. HP uses a slim with an owner drive

    Connector for it. You won't find it on the other PSU. You will have to abandon the drive if you replace the stock PSU.

  • SAT L500D does not have to be connected to the power supply until the reboot

    Hi all

    I have a L500D, purchased locally and I have a problem that seems to escape correction by the helpdesk of Toshiba. My laptop while operating on battery comes with messages expected that the battery has x % remaining and suggests I plug the laptop into the power supply. I connect the laptop on the adapter and the power of the taskbar icon indicates the adapter is plugged in but it also shows that it does not load (adapter also remains cold, indicating no power is being developed). Low battery messages continue until the laptop stops ultimately. On commissioning again the laptop acknowledges that she attached to the adapter sector and charges upward.

    Helpdesk from Toshiba said a new BIOS version had been released and that I should update the BIOS and would probably "fix the problem". Went to the Australian Site and there is no other choice to see downloads for this model L500D [product number], helpdesk then took me on the European site where I updated the BIOS, then spent several hours on the phone with Symantec trying to uninstall and reinstall Norton 360, which ceased its activities and could not be uninstalled leaving my laptop not protected.

    Someone at - it an idea of what is the cause and how it might be remedied? Appreciate your thoughts.

    Hello

    If you have updated the BIOS and the help of t n right?
    Hmm I think that this problem of card mother s that looks like the adapter does not work correctly because everything is ok after new reboot
    I think the laptop is under warranty and you should get in touch with a local ASP to discover exactly what s wrong

    But I think that it s motherboard related question

  • Satellite C660: Wireless Internet when remove the power supply drops

    Hello
    new Tosh Satellite C660 laptop works fine when the power supply cord is connected, soon as directed power is removed drops internet connection, usually to the second web page (the first web page is accessible, failure occurs usually when you try to access a new page)

    When I connect the power cable, internet connectivity returns as usual!

    I've been on the Advanced page setings power management,
    I have power settings "balanced" set up, and for the realtek card wireless put the plug and batttery power to maaximum settings (before they were to the maximum for diet and balanced for battery) even if it has no impact.

    The connection between the laptop and the wireless box seems 'excellent' level, the internet is the element which is a failure.

    I use the standard realteck card from the laptop (Realtek RTL8188CE Wireless LAN 802.11n PCI-E NIC) a D-Link Wireless N Router (DIR-615 ver1.00) and standard Modem provided by Virginmedia who bring them my services to wide band.

    All suggestions are welcome!
    Rick

    Hello

    Try the Realtek WLan driver Realtek page.
    www.Realtek.com.tw

    I read here in the forum that it has helped to get rid of these questions.
    Of course, you must also disable as mentioned in your message to save energy.

    Here, the other thread which confirms this driver update allows:
    http://forums.computers.Toshiba-Europe.com/forums/thread.jspa?threadID=58112

  • Satellite P100-347 does not stop when it is used on the power supply

    I have a new laptop of P100-347 games and I have 2 problems. Can anyone help?

    (1) when I use the usb port on the left side of the laptop, the laptop seems to restart the same time that I plug anything into it! I called Toshiba and said to update Bios, so I did (version 240 up to 330). But as soon as I did it started to the following problem:

    (2) when I run the laptop on battery, I can turn off the phone by pressing the power button or by clicking the windows locked. But as soon as I plug the power supply whenever I want to stop the laptop, the laptop just restarts. Does anyone have any ideas?

    Thanks for the comments!

  • Replacement of the power supply

    My son-in-law told me that I need to replace my power supply for my HP Pavilion p6110f, it should be 250 or 300 watts and 80 + Bronze rating.   I run Windows Vista if that matters.  Someone please just give me a suggestion for the right product?  Can it be 700W?  I don't know about these things and would like to have the correct unit of someone to install.  Thank you!

    As long as he phsyically fits in the space, it can be 400w and upward.  Unless the user has replaced the video card with a card really demanding, 400w or 450w should be fine.  If you yourself will be the one to replace the power supply, remove the unit, take measures, then check that the replacement is the same size.  Most computers use a standardized unit now, it should be pretty easy.  Take note of where the connectors to reconnect.

  • Replace the power supply, computer does not turn on

    I had a Seasonic SS 560 KM power supply for my HP Pav e9280t.  I removed the old power supply while keeping the power cable is plugged in.  Then replaced each power cables one at a time in the new power supply and finally he attached to the tower.

    Now when I try to turn on your computer, it just boots barely upward.  I can hear the fans kick on for a second or two, then everything just stops.

    Since I replaced the cables one at a time I don't think I missed anything; MoBo, Fan of MoBo, 1 optical drive, disk HARD 2 and 1GPU.  The tower is open and I can see the fan, the fan GPU MoBo and PSU fan all hang on one second so that they get the right power?

    I must have missed something or possibly faulty PSU?  Any help will be appreciated.

    Hello Chadow86, it is possible to the new power supply may be faulty. I would check double all the connectors again.

    Since you mentioned the fan to the motherboard, it would not be necessary to unplug the CPU fan when you changed the power supply. The CPU fan power source comes from the motherboard and not directly from the power supply. I don't know what fan on the motherboard you are talking about.

    I watched the specifications and photos of the new power supply. It is a modular design. I would check the cables connected to the power supply to make sure that they are in the correct connectors.

    If the system still does not start, the cause could be a new power supply faulty.

    I hope this helps.

Maybe you are looking for

  • speak to the text

    I need or how to get the microphone on my text messaging so I can talk to the text. my phone does not display the microphone

  • Which memory module has Qosmio F20-136?

    I want to buy another module of 512 k memory Kingston does anyone know if the laptop doesn't have that one module 256 k 512 k initially installed and not two. Mines wrapped for Christmas so I can't open it again! Thank you

  • PC to PC using PXImc

    Hi all I read a few articles on PXImc. It seems that what I need. There are a few points that I hope someone here can help clarify. 1. in an article, it is said can we daisy chain systems. For the purposes of clarification, this means I can connect a

  • Video TOO dark?

    I used a DCR-SR40 for about 7 years, with good results and bought a new Sony HDR - XR550V 240 GB HD Handycam Camcorder a few weeks but I am very disappointed for some reason any new cam with all the bells and whistles seems to be much darker video in

  • Replacement of gold coins

    How can I apply for the replacement of gold warranty?