Search found 15436 matches

by jvierra
Wed Jul 09, 2008 6:51 am
Forum: VBScript
Topic: Why is this script working....
Replies: 7
Views: 4263

Why is this script working....

Hah! It's fun watching this merry-go-round. Maybe I can get someone to reverse direction so we can all agree on something. This: IF <test-condition> Then <statement> Or" IF <test-condition> Then <line-break> [ELSE <line-break>] END IF The above (blue) is a pseudo syntax map. You can see that th...
by jvierra
Tue Jul 08, 2008 11:25 am
Forum: VBScript
Topic: Why is this script working....
Replies: 7
Views: 4263

Why is this script working....

Yup - Jeff got it. Careful formatting for indenting will help to detect this kind of error although I do it to myself and spend much time not seeign the obvious. This is a clearer way to state the same thing: If objItem.Failure = True Then If Len(value) = 0 Then value = "Failure" Else valu...
by jvierra
Tue Jul 08, 2008 9:17 am
Forum: PowerShell
Topic: Format output without header
Replies: 3
Views: 4379

Format output without header

WHat is it that you are referring to when you say "Domain"? Here are some examples W2K Domain - MyDOMAIN ( This is t he old Windows domain nomenclature. DNS Domain Name - mydomain.com - OR - mysub.mydomain.com There is also the LDAP nomenclature: LDAP://dc=mydomain,dc=com An Exchnge domain...
by jvierra
Thu Jul 03, 2008 4:36 am
Forum: VBScript
Topic: Datasources
Replies: 4
Views: 1763

Datasources

Save the string to a file and you have a file data source.
Save to registry and you have user/system data source.

Depends on what you are trying to accomplish. Strings, by themselves, are only useful in one place. "Data Sourcees" are shareable.
by jvierra
Thu Jul 03, 2008 1:16 am
Forum: VBScript
Topic: Datasources
Replies: 4
Views: 1763

Datasources

Yes - but.

Do you mean datasource spec, user/system/file, or provider?

Simplest datasource is a file DS.

by jvierra
Wed Jul 02, 2008 3:09 am
Forum: VBScript
Topic: syntax confusion
Replies: 2
Views: 12952

syntax confusion

Some notes: (Hopefully helpful) I havenever seen coed constructs on MSDN using incremental concatenation. There used to be a couple of examples on Technet but the Scripting Guys have since moved away from doing that for reports. Why? Incremental concatenation is OK for total string lengths under abo...
by jvierra
Tue Jul 01, 2008 5:34 am
Forum: VBScript
Topic: Parsing multiple tags in a XML file...
Replies: 17
Views: 8776

Parsing multiple tags in a XML file...

The biggest issue I see is that you need information from multiple levels of a hierarchical XML schema. From what I can see LogParser canot readily do this although it could be done with multiple passes. This is not really a scripting issue but is a LogParser issue or an XML issue. This site is not ...
by jvierra
Mon Jun 30, 2008 4:48 am
Forum: VBScript
Topic: AutoArchive outlook 2007
Replies: 3
Views: 1686

AutoArchive outlook 2007

I believe that, if you install the AM template for Office 2007, you can completely control archiving via Group Policy.

by jvierra
Sat Jun 28, 2008 5:46 am
Forum: VBScript
Topic: Ms Agent
Replies: 2
Views: 1630

Ms Agent

I believethat, by design, it is not possible to completely hide the agent when it is loaded.
by jvierra
Thu Jun 26, 2008 6:05 am
Forum: VBScript
Topic: Get User that is running the script
Replies: 2
Views: 1861

Get User that is running the script

Work fine for me on any system.

Perhaps you let in a typo.