Thursday, April 4, 2013

[OpsMgr 2012] VSAE – Include File Content

David Allen, has posted on April 3, 2013, an article to show how to include your own vbs, ps1 or JS script in your authored management pack.


The include syntax in this example is $IncludeFileContent/Scripts/MonitoringScript.vbs$, and this is generated based on the path of the file.  In this MP, I stored the VBS file in a folder called Scripts, which is why “Scripts/MonitoringScript.vbs” is added to “IncludeFileContent”.

This posting is provided "AS IS" with no warranties.

No comments:

Post a Comment