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
31 lines
520 B
<job id="myTest">
|
|
<reference object="AzRoles.AzAdminManager"/>
|
|
|
|
<script src="topenAD.inc" language="VBScript">
|
|
|
|
'global
|
|
Dim ADUrl
|
|
ADUrl=""
|
|
|
|
Function GetCommandArg
|
|
|
|
If 1 <> WScript.Arguments.Count Then
|
|
WScript.Echo "Usage: topen ADUrl"
|
|
GetCommandArg=False
|
|
Else
|
|
ADUrl=WScript.Arguments.Item(0)
|
|
GetCommandArg=True
|
|
End If
|
|
End Function
|
|
|
|
|
|
'main starts
|
|
|
|
If True = GetCommandArg Then
|
|
|
|
AzPrintADPolicy ADUrl
|
|
|
|
End If 'GetCommandArg
|
|
|
|
</script>
|
|
</job>
|