IAG 2007 Community Wiki

Edit

Create the script

Create your custom script in von/InternalSite/Scripts/CustomUpdate/SomeScript.vbs:
' perform your check
Results("YourVariable") = true

Edit

Add to PolicyTemplate.xml

Create or merge this into von/conf/CustomUpdate/PolicyTemplate.xml:
<Policies>		
	<Policy>
		<Name>Your own variable :-)</Name>
		<ID>YourVariable</ID>
		<Type>0</Type>
		<Value></Value>
		<Description>Describe what it does!</Description>
		<Section>Custom</Section>
	</Policy>
</Policies>

Edit

Add to detect.inc

Create or merge this into von/InternalSite/inc/CustomUpdate/<1 for SSL, 0 for HTTP>detect.inc:
<%
  ' note - the value does not matter
  g_scriptList("/InternalSite/scripts/CustomUpdate/SomeScript.vbs") = true
%>

Edit

Change to InternalSite ruleset

Add a rule to the InternalSite ruleset to enable access to /InternalSite/Scripts/CustomUpdate/SomeScript.(vbs|vbs\.sig|spc)

Edit

Create your policy

Example of a custom "Create as script" mode policy that uses your script:
YourVariable
You will find the detection value in Variables/Custom in the editor.

ScrewTurn Wiki version 2.0.22. Some of the icons created by FamFamFam. Here's an Imprint.
This site is not affiliated with, sponsored by or under the control of Microsoft Corporation. Microsoft is not responsible for any content contained within this web site. This site is not endorsed by Microsoft Corporation. Microsoft™, IAG 2007™, ISA Server™, Windows™ are either registered trademarks or trademarks of Microsoft™ Corporation in the United States and/or other countries.

See the Code of Conduct and Site FAQ for additional information.