UNSOLVED

sdean2010

updated

16 years ago

S

sdean2010

9 Posts

0

31274

November 9th, 2010 02:00

More OMCI 8 specific scripts please

I have converted pre version 7.8 scripts to system management method and used it to manage very large fleet: delete factory password, set our password, set many other bios features including bios update. Suddenly everything has changed under root\dcim\sysman. So far there are only 2 published scripts for version 8.0. I have adapted the "SampleWakeOnLAN.vbs" to do chassis intrusion and so on, but I have not managed to get the script right to change bios setup password. Also the code has to be kept in a script format in VB.NET with Option Strict Off to overcome late binding issue. Ideally I would like to convert the scripts System.Management code. In the past under root/Dellomci VBScript objInstance.Put_ was easily converted to System.Management myObject.Put(). But under OMCI 8 "objInstance.ExecMethod_("SetBIOSAttributes", oInParams)" is not easily convertible to System.Management InvokeMethod or whatever. So I eagerly look forward to more VBScripts and code samples.
  • DELL-Warren B

    1 Rookie

    1124 Posts

    504

    0

    Posted November 9th, 2010 09:00

    Thanks for the post! It would be great if you can make today's TechChat so you can discuss this with the OMCI team directly.
  • sdean2010

    9 Posts

    504

    0

    Posted March 19th, 2011 06:00

    I have converted all of the OMCI 8.0 VBScript enumeration samples and 2 scripts to change values, "ChangeAssetTag" and "ChangePropertyOwnershipTag" to pure VB.NET System.Management methods. I am unable to submit it here due to the 2000 character limit.
  • DELL-Warren B

    1 Rookie

    1124 Posts

    504

    0

    Posted March 22nd, 2011 22:00

    Awesome! You can request writer privileges so you can add them as attachments to the page yourself or I can give you an upload location if that would work better.
  • OMCIGuy

    12 Posts

    504

    0

    Posted March 23rd, 2011 10:00

    I feel the same pain. Trying to get the new RemoteBIOSUpdate command to work in the DCIM_BIOSService class. The published documentation is clearly out of date since a new instance of the InParms shows it also needs the AuthorizationToken (admin password for BIOS changes). Yet even when supplied... this method continues to throw: "invalid method parameters". =(

    I will eagerly be looking for my post here to start showing up on a Google search of the term: RemoteBIOSUpdate
    since the pickin's are really slim right now.

    (in fact... let's list the parameter names as well, since those were producing zero matches in google:
    Name : "AuthorizationToken" --- CIMType : wbemCimtypeString
    Name : "rbuIPFName" --- CIMType : wbemCimtypeString )
  • DanSpec1

    4 Posts

    504

    0

    Posted May 18th, 2011 11:00

    @sdean2010 Please post a link to an offsite location of these scripts, like another forum or even please send me a private message if this forum supports that. Plus if you have a wake on lan settings script for version 8.0 and beyond it would really be appreciated. I tried the wol script that is posted here on the dell site and it isnt working for me. The get bios settings script works like a charm though.
  • DanSpec1

    4 Posts

    504

    0

    Posted May 19th, 2011 11:00

    I was able to get the wol script to work, i had the incorrect bios pwd.. I found a way to do it with powershell here that also works. Thanks!
  • DELL-Warren B

    1 Rookie

    1124 Posts

    504

    0

    Posted May 19th, 2011 11:00

    Dan,

    Thanks for the verification. I was worried that the sample script needed to be fixed!

    Warren