Hi All
I've been playing around with WS-Management on the DRAC with PowerShell V3. I wanted to try to see if i could do some simple stuff. The task i set myself was getting and changing power states on a PowerEdge R620. I thought it would be quite easy....
Theres a lot written on this subject, but the examples from here
and here
http://en.community.dell.com/techcenter/extras/m/white_papers/20206146.aspx
both are using WinRM in their examples
I'm finding it quite difficult to figure out how I would achieve the same results shown using WinRM, but by using the new Cmdlets in PowerShell v3 (get-CimInstance, New-CimInstance, Set-CimIntance, Invoke-CimMethod, etc)
I'm ok getting basic info from the DRAC using these commands, but i must admit that im getting a bit lost figuring out how to handle the End Point Reference (EPR) stuff. Each example in WinRM talks about returning EPR and then using those in the WinRM method invocation, but i just cant see how to do that with the new PowerShell commands
Im asking if anyone has done this or has any examples of how to do it?
It would be great if the authors of thos documents could give examples in PowerShell v3