The script still wasn't compiling after adding the AD power tool so did the following modifications <<dtmsource.OriginalDestination("City").Trim().ToLower()>>(as seen below) but when I run the job it fails.
sub DTM_RowChanged(dtmsource As Object, args As JobEventArgs) handles DTM.RowChanged
' User-definable script goes here -----------------
'Check if City attribute has been changed.
If dtmsource.OriginalDestination("City").Trim().ToLower() <> dtmsource.StagingDestination("City").Trim().ToLower() Then
'City attribute is changing so let's move the user
Select Case DTM.Source("CITY").Trim().ToLower()
Case "TORONTO"
ActiveDirectoryTool.MoveObject("LDAP://OU=DTM2,DC=LAB,DC=LOCAL")
Case Else
'Do nothing
End Select
End If
' -------------------------------------------------
end sub