Skip to content

Job XML Specification

Sneddo edited this page Apr 28, 2014 · 2 revisions

In order to use the -Job parameter, an XML configuration file is used.

The root element is <vCheck>, under this there are two elements:

  • <globalVariables> element specifies the path to the file containing the vCheck settings (by default globalVariables.ps1)
  • <plugins> element has a semi-colon separated attribute name path, which contains the path(s) to search for plugins contained in child <plugin> elements.

Each <plugin> element contains the plugin name.

Config Example

<vCheck> 
    <globalVariables>GlobalVariables.ps1</globalVariables> 
    <plugins path="plugins-vSphere"> 
       <plugin>00 Connection Plugin for vCenter.ps1</plugin> 
       <plugin>03 Datastore Information.ps1</plugin> 
       <plugin>11 VMs with over CPU Count LOL WRONG PATH.ps1</plugin> 
       <plugin>99 VeryLastPlugin Used to Disconnect.ps1</plugin> 
    </plugins> 
</vCheck>
Clone this wiki locally