Search found 157 matches

by new_user
Tue Dec 31, 2013 1:44 pm
Forum: VBScript
Topic: Description field line breaks when exporting in vbscript
Replies: 30
Views: 49772

Re: Description field line breaks when exporting in vbscript

Yes please little lost why it works unless the description is pretty long. Thanks.
by new_user
Tue Dec 31, 2013 1:16 pm
Forum: VBScript
Topic: Description field line breaks when exporting in vbscript
Replies: 30
Views: 49772

Re: Description field line breaks when exporting in vbscript

My code is attached to show how I am calling the array. and example of the output capture is also attached. This does work except if the data in the description field is very long. I am not clear regarding concatenating.
by new_user
Tue Dec 31, 2013 12:46 pm
Forum: VBScript
Topic: Description field line breaks when exporting in vbscript
Replies: 30
Views: 49772

Re: Description field line breaks when exporting in vbscript

Thank you for the reply not sure what you are referring to by catting them; how would that array to capture the description field contents change?
by new_user
Tue Dec 31, 2013 10:13 am
Forum: VBScript
Topic: Description field line breaks when exporting in vbscript
Replies: 30
Views: 49772

Re: Description field line breaks when exporting in vbscript

Sorry. The description arr I am using to get everything in the description field is: ' The description attribute is multi-valued, but ' there is never more than one item in the array. arrDesc = adoRecordset.Fields("description").Value If IsNull(arrDesc) Then strDescription = "" E...
by new_user
Tue Dec 31, 2013 9:50 am
Forum: VBScript
Topic: Description field line breaks when exporting in vbscript
Replies: 30
Views: 49772

Description field line breaks when exporting in vbscript

Hello. I am looking for some help with an issue that I have not seen before when using an array to export the description field for user accounts. I can attached the entire script if needed although the arr used is below. On some users they have a long description for one reason or another and when ...
by new_user
Fri Feb 15, 2013 9:53 am
Forum: VBScript
Topic: AD Description Field: Search/Parse
Replies: 3
Views: 4695

AD Description Field: Search/Parse

I can try to use that in my current filter (Yes description field for AD computer object). How could I change that from a hard coded string like the date to something like today - 30 = date to search for in the description field.
by new_user
Fri Feb 15, 2013 5:36 am
Forum: VBScript
Topic: AD Description Field: Search/Parse
Replies: 3
Views: 4695

AD Description Field: Search/Parse

I am looking to find an easy repeatable way to search for a date found in the description field for computers. Commonly this date is in between text but is seperated by a ":" in each description field. For example it may be: "Comment:01/25/2013:Comment". I am looking to search fo...
by new_user
Thu May 03, 2012 2:11 am
Forum: VBScript
Topic: Trap search error
Replies: 5
Views: 4969

Trap search error

For WMI I have that figured out but when searching AD like in this example, searching for DN from a list of group names not so much.
by new_user
Wed May 02, 2012 1:47 pm
Forum: VBScript
Topic: Trap search error
Replies: 5
Views: 4969

Trap search error

So I am sure I missed something. Code is below. If I trap the error correctly, it should log it but continue correct. Code is below I am sure I misplaced where you mentioned to place it. Any help is appreciated thank you. 'On error resume nextDim objFSO, objFile, sourceFile, strLinesourceFile = &quo...