Hi, will this work on ARS 7.2 or syntax is different? Also PowerShell equivalent for this would be nice (in context with ARS 7.2 too of course).
Sub onPostCreate(Request)
'if action was not COPY command exit
If (CInt(Request.Parameter("Type")) <> EDST_REQ_COPY) Then Exit Sub
'if action was COPY command
'clear Script-Path AD attribute
DirObj.PutEx ADS_PROPERTY_CLEAR, "Script-Path", Empty
'save changes in Active Directory
DirObj.SetInfo
End Sub
Thanks in advance.