Using Powershell V3 to change the status of the power supply using WS-Management through iDRAC (PE r.620)

Hi all

I've been playing with WS-Management on the DRAC with PowerShell V3. I wanted to try to see if I could do the simple things. The task that I started has get and change of power on a PowerEdge r.620 State. I thought it would be fairly easy...

Theres a lot written on this topic, but the examples from here

http://en.community.Dell.com/TechCenter/systems-management/w/wiki/4374.how-to-build-and-execute-wsman-method-commands.aspx

and here

http://en.community.Dell.com/TechCenter/Extras/m/white_papers/20206146.aspx

both use WinRM in their examples

I find it quite difficult to understand how I would achieve the same results using WinRM, but using the new v3 PowerShell cmdlets (get-CimInstance, New-CimInstance, Set-CimIntance, Invoke-CimMethod, etc.)

I'm ok, get the basic information from the DRAC using these commands, but I must admit that I am a little lost in how to manage things from the endpoint reference (EPR). Each example of WinRM speak back EPR, then using those of the WinRM method call, but I just can't see how to do this with the new PowerShell commands

IM asking if someone did or has examples of how do?

It would be great if the authors of these documents could provide examples in PowerShell v3

Hello jaydee180

This document contains examples for powershell v3:

http://en.community.Dell.com/CFS-file.ashx/__key/CommunityServer-components-postattachments/00-20-18-70-55/Microsoft-Windows-PowerShell-CIM-cmdlets-with-Dell-iDRAC.PDF

Thank you

Tags: Dell Servers

Similar Questions

  • I changed the power supply on HP Media Center m470n, because he wouldn't come, it will not

    the computer would not come, he ran but quit, I changed the power supply, but it will always fuel not at all, no fans no lights.

    Be, welcome to the forum.

    Because the computer is more than 8 years old, it is difficult to say which component has failed.  Open the box and give it a thorough cleaning.  Then, make sure that all components are installed and the power supply cord is free of defects.  Here's a guide for boot-up/shutdown/power problems.  Try what they say see if anyone of them help.

    Frankly, it may simply be time to buy a new computer.  You'd be amazed at how one faster cheaper computers will be.  Here is a that would be great just as configured.  It has a processor AMD Quad-Core (2.7 GHz), 6 GB of memory and the OS Win 7 64 bit.  You can buy a monitor, too.

  • 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! :)

  • HP Pavilion 500-199: is there a reason to change the power supply?

    is there a reason to change the stock PSU? Many people have been telling me that the stock of POWER supplies are really bad, especially after I ugraded to a 750 GTX. The card works perfectly. So... is there a reason to change? Also how effective is the current PSU?

    Another way to explain this.  The GT645 stock used 31W, the GTX745 uses 55W.  The 300W PSU stock, as you say, has been powered of the GTX745.  So, it is fair to say that the stock of 300W PSU had enough wattage to spare to run the new card. "GeForce" States that the minimum power should be 300W. Feeding is minimum.

  • XPS 420, video card update without changing the power supply

    So I recently did some changes on my Dell XPS 420.  The processor is the same that had been originally purchased, Intel Core 2 Quad Q6600 @ 2.40 GHz, but I upgraded the RAM 6 GB and spin as a Windows 10 Insider Preview OS 64-bit on a partition with Windows 7 Professional 64 bit on another partition.  I've also added a new 2 to HARD drive, a USB 3.0 PCI Express card and thinking about getting a 500 GB Samsung SSD EVO. Here's my question though, and it is a video card...

    I want to upgrade the video card, but don't know much about them.  I don't want to touch the food, and I want to just install a new video card.  I do not play video games a large part at all, but I stream videos from my PC if it matters that I've seen people suggest GTX Nvidia as well as the Sapphire HD 7770 550Ti, but I've also seen some people said these cards require greater power than my machine so I am confused.  What is a good affordable video card that would be worth upgrading for me?

    I appreciate any info that can be provided, thanks!

    The TI 750 will not harm your diet or your portfolio. The R7 250 is $99 and the 750 TI is $ 139. It is in the middle between the really cheap and good performance.

  • I'm in Australia. Can I change the power supply in the latest headlines from BBC news, a local news service?

    This isn't a big problem, I just thought that if available local content was more logical.

    You can find an icon in the window of customization that you can drag the toolbar for browsing RSS feeds.

    This toolbar button is highlighted when the page offers a stream (made this forum).

    Bookmarks also gets a button in this case active subscription.

    • Firefox menu button > Options > toolbars
    • View > toolbars > customize
  • 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.

  • A Mac mini, purchased in the UNITED Arab Emirates can be used in the USA with only change the power cord?

    A Mac mini, purchased in the UNITED Arab Emirates can be used in the USA with only change the power cord?

    Yes.

    http://www.Apple.com/Mac-mini/specs/

    the voltage may vary from 100-240 V AC.

  • VB6 crashes when you try to change the power on the DIO state using NIDAQmx.

    When I try to change the power of digital output to a PCI - 6220M cardusing VB6 and NIDAQmx software, my plant of VB6.

    I have request to build a VB6 for the same card read all digital out and analog in, digital.  This app works very well.  I can't just change the power to high status.

    Hello Sir,

    I found a post on our discussion forum to a client who was trying to do the same thing as you and also ran into a crash of VB6. In his case, the accident was caused by an incorrect setting during the call to the function.

    The first part of the post office treats the correct settings. The second part of this post does not apply to your configuration, your type of card that supports under the power state.

    Please keep us informed of your progress.

    Kind regards

    Wouter

    OR Belgium

  • How to change the power state in a Service profile template

    I would like to change the "Power status" in a model of Service profile. While I can change almost all other aspects of the model, I don't find it in the UCS Manager GUI. Is it an unchangeable decision while creating the model? I can change it via the CLI?

    Hi Joernclausen,

    What version of the firmware of your UCS?

    In the CLI, try the steps below and let me know if it works.

     Go into the FI CLI and perform the steps below, ensure to enter your own template_name and select appropriate type of template followed by setting the power up or down sj-ucs-r13-mon-A# scope org sj-ucs-r13-mon-A /org # enter service-profile template_name initial-template sj-ucs-r13-mon-A /org/service-profile # power up sj-ucs-r13-mon-A /org/service-profile* # commit-buffer sj-ucs-r13-mon-A /org/service-profile # power down sj-ucs-r13-mon-A /org/service-profile* # commit-buffer

    You may also be able to change the power state of the individual service profiles

     Go to the service profile and use "Change Initial Power State" button for modifying the desired-power value.

    See attached screenshot

  • The former "cannot change the power state of virtual machine: the process has exited with an error: end of the error message" thing again (Fedora 8/Server 1.08)

    OK, this problem beautifully undescriptive I've seen caused by what seems to be dozens of things happening for me.

    I made the mistake of horrible update my FC8 kernel to the latest one (2.6.26.8 - 57.fc8).  Mind you, that's all that's changed.  It was with a 1.06 server with happiness and perfectly good computers running virtual in use before the upgrade.

    After the new kernel and reboot, I had to rebuild vmmod.  I had to get a fix of any - any later that I used with my previous kernel (116 does not solve the problem of compiling) so I used all-any117d.  Update like a champion.

    Try to turn on a VM and Ihanta!, the above error.

    Nothing else was changed.

    I tried the upgrade to VMware Server 1.08.  Used all-new any117d - update OK.

    Error again.

    I have re-run the compilation, this time to say 'yes' to what the installation script to "adjust the permissions of all virtual machines in xxxlist" or whatnot.

    Error again.

    1. status of /etc/init.d/VMware

    Networking networking on/dev/vmnet0 is running

    Invited only on/dev/vmnet1 network is running

    Network invited only on/dev/vmnet8 is running

    NAT networking on/dev/vmnet8 is running

    Responsible vmmon module

    Loaded module Vmnet

    FWIW, I compile as long as root, but have always run VMware server from my UID nonroot.

    What now?

    I'm in the same boat.  Fedora 8 2.6.26.8 - 57.fc8 #1 SMP

    I have tried uninstalling/reinstalling v1.0.6 thru 1.0.8 with all 116 updates and 117d.   117D compiles with every version of server but when I try to turn on a virtual computer I get this error.

    Cannot change the power state of virtual machine: the process has exited with an error:

    vmxvmdb: name of the Index generated by the configuration file

    POST (no connection): Version mismatch with vmmon module: expected 138.0, obtained 168.0.

    You have a bad version of the module kernel "vmmon.

    Try reinstalling VMware Server.

    POST (no connection): failed to initialize the surveillance apparatus.

    Failed to initialize the virtual machine.

    End of the error message.

    I found several posts other people have this problem but

    they are months with no recent activity and nothing that solved the problem.  I found appeared

    to get a fix, one updated the all an update that corrects the problem for

    2.6.26 performing several nuclei, but the link for the update on TI-psycho appears to be dead.  Here is the link to the discussion

    http://Fedoraforum.org/Forum/showthread.php?t=199026&page=2

    Of course, I would like to know how to solve this problem as well.

    Thank you

  • Cannot change the power state of VM: cannot...   (VMWare Workstation 7 on Debian Lenny)

    Hi all, I am new to this community. I recently installed VMWare Workstation 7 on a Debian Lenny (kernel 2.6.26.2 - amd64). I had no problem with it, but when I tried to start a Virtual Machine Windows Vista, which I created it, does not start. Error says windows "cannot change the power state of VM: could not find a peer valid to connect to". "" Any idea, please?

    Josber.

    It seems that the virtual machine has been suspended when your host is using a different screen resolution

    either change back to the resolution that you used when you suspenmded the machine virtual or delete the VMS.

    This will force the VM to do a cold boot

    ___________________________________

    VMX-settings- VMware-liveCD - VM-infirmary

  • 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!

  • How can I change the power from 220 to 110? CC = AU

    I moved from the Australia to the Canada. By the way my things, I brought my HPE-070 computer. I need to change from 220 volts to 110 V, but I can't find the information on how to do it in the manuals. Can you please advise me on how to do it please.

    Thank you

    Thanks Gabe

    Hello:

    Normally at the back of the PC to the power supply, there is a small red switch that you must return with a standard screwdriver from 220V to 110V.

    Paul

  • Spectrum X 360 (N1W02PA #UUF): best practices for the use of the power supply battery for laptop (spectrum X 360)

    Hello.

    I know the best practice to use the power supply to charge the battery? I heard that keep charging your battery while using Notepad deteriorate autonomy. I don't know if that's true, but I do not charge my spectrum X 360 at 20% power level.

    Kindly need some expert advice. Thank you.

    Hello:

    My recommendation is to follow the instructions provided in this document from HP to address... paying particular attention to the info listed according to the recommended battery care practices.

    http://h20564.www2.HP.com/hpsc/doc/public/display?docid=c00596784

Maybe you are looking for