thus line if(InStr(strOldOrder(j),":"&strNewOrderInput(i))> 0) is never true.
Same results on two Latitude laptops (e4300 and e6410)
chanhing line "oInParams.source = strNewOrder" to "oInParams.source = strOldOrder" doesn't work either (you might think it should work because strNewOrder is a copy of strOldOrder with different order)
I did review the white paper you recommended. The namespace it refers to is for version 7x of OMCI. The sample scripts do refer to the new namespace used in the 8.0 version but I am running into the problem I listed originally. Any thoughts?
I'm not an expert on OMCI, but from what I understand, some functions in OMCI 8 don't work with certain systems - it has something to do with the BIOS.
I've heard that Dell is working on addressing this with BIOS revisions, but I don't think a list of exactly which functions are affected exists.
The only recommendation I can give is updating the BIOS if you aren't currently up to date.
I'll try to see if someone else at Dell can give more information.
JuusoV has a point. The //COMPUTERNAME/root/dcim/sysman:DCIM_BootSourceSetting.InstanceID="DCIM:BootSoureSetting:UEFI:BootListType-1:index-2" values differ by machine. Some are "index-#" some are "IPL::#". I am sure there are others.
You can't just use the number. I see 2 possible solutions:
1. Compare the new sort order value with the last digit for the old order value of which presumes you don't have more than 9 boot devices.
2. Compare the new sort order index-# or IPL:# or any others in the environment.
My bad. I had the wrong version of the SampleSetBootOrder.vbs posted. The original had issues differentiating between BIOS (oldorder) and UEFI (neworder) which was corrected in the updated version.
Are you trying to boot to PXE? If so, you might want to try the "Force PXE on next Reboot" sample script here. This is a more simple method to get to a network boot than changing boot orders around.
Peter Tsai
2 Intern
•
272 Posts
1396
0
Posted November 15th, 2011 13:00
Hi Dan,
Have you looked into this OMCI whitepaper that contains a sample script on setting the boot order on a system?
http://www.dell.com/downloads/global/solutions/omci_info.pdf
http://en.community.dell.com/techcenter/systems-management/w/wiki/omci-sample-scripts.aspx