Feel free to test these scripts in your test environment, and modify to your needs for production. Refer to the OMCI page for links to the user guide, reference guide, and other OMCI documentation.
The OMCI White Paper contains several example VBScripts:
The OMCI Documentation (User Guide and Reference Guide) contains the following VBScript examples:
OMCI 8.0 Sample Scripts
OMCI 8.x Sample Scripts (PowerShell)
Read the WhitePaper and Download Sample Scripts - How to Enable Trusted Platform Module (TPM) on Dell Business Client Systems
The following table contains one-line script examples using the Microsoft® Windows® PowerShell™ command-line shell.
Remember to use an elevated command window.
Q: How can I browse WMI using a GUI? A: You can use WMI Administrative Tools, PowerShell ScriptOMatic, or PowerShell WMI Explorer.Q: I'm having trouble querying OMCI information through a GUI, VBScript, and PowerShell.A: Check Permissions; you may need to Run as Administrator to have sufficient access. Also, ensure that OMCI is installed (Check Add/Remove Programs).
I can not get the wake on lan scirpt to work for remote computers. How do I get:
(gwmi DCIM_BIOSService -namespace root\dcim\sysman).SetBIOSAttributes($null,$null,"Wake On LAN","4")
to work on a remote computer?