Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
520 B

  1. <job id="myTest">
  2. <reference object="AzRoles.AzAdminManager"/>
  3. <script src="topenAD.inc" language="VBScript">
  4. 'global
  5. Dim ADUrl
  6. ADUrl=""
  7. Function GetCommandArg
  8. If 1 <> WScript.Arguments.Count Then
  9. WScript.Echo "Usage: topen ADUrl"
  10. GetCommandArg=False
  11. Else
  12. ADUrl=WScript.Arguments.Item(0)
  13. GetCommandArg=True
  14. End If
  15. End Function
  16. 'main starts
  17. If True = GetCommandArg Then
  18. AzPrintADPolicy ADUrl
  19. End If 'GetCommandArg
  20. </script>
  21. </job>