Search found 416 matches

by donj
Mon Apr 07, 2008 5:40 am
Forum: VBScript
Topic: Get previous days Date
Replies: 4
Views: 2858

Get previous days Date

BTW, DateAdd can add/subtract (by adding a negative number) a day, month, year, hour, or whatever - http://www.w3schools.com/Vbscript/func_dateadd.asp for docs.
by donj
Mon Apr 07, 2008 5:34 am
Forum: PrimalScript
Topic: primalscript 4.1 and parallels / code completion
Replies: 9
Views: 4135

primalscript 4.1 and parallels / code completion

Well, I guess the next question is "what's different between the VM and the physical machine?" PrimalScript doesn't rely on anything in terms of hardware, at least not for stuff like code completion. If it's working on one computer, it should work identically on an identically-configured c...
by donj
Mon Apr 07, 2008 1:17 am
Forum: PowerShell
Topic: ADSI ldap connection
Replies: 6
Views: 21629

ADSI ldap connection

What's the final disposition for this information? Maybe there's another approach that will accomplish what you need...
by donj
Mon Apr 07, 2008 12:16 am
Forum: VBScript
Topic: Help With a Script
Replies: 25
Views: 13456

Help With a Script

Watch your variables. Your subroutine is accepting sFilename as input, and that's what it's backing up to. I don't see where your strMoveTo path is being passed into that subroutine or even used.
by donj
Mon Apr 07, 2008 12:14 am
Forum: PrimalScript
Topic: primalscript 4.1 and parallels / code completion
Replies: 9
Views: 4135

primalscript 4.1 and parallels / code completion

So, just so we're chasing the right problem, this is working fine on your normal WinXP machine, but not on the Parallels VM?
by donj
Sat Apr 05, 2008 3:29 am
Forum: VBScript
Topic: query to active directory
Replies: 2
Views: 2306

query to active directory

I'm not sure I understand. You want to see if a specified group exists within the Groups OU?

The query you have should do just fine. If it doesn't return any object (e,g., IsObject(objGroup) = False), then the group doesn't exist.
by donj
Fri Apr 04, 2008 7:35 am
Forum: PowerShell
Topic: Windows PowerShell 101 DVD Question
Replies: 5
Views: 7535

Windows PowerShell 101 DVD Question

Sorry, "192." Misread the question. But yes, the correct answer should be 8 -band 192 or 192 -band 8 If it isn't accepting that, then there may be a typo in the quiz module. It's also possible there's an extra or missing space; the quiz module is unfortunately extremely picky about that ki...
by donj
Wed Mar 26, 2008 7:08 am
Forum: VBScript
Topic: Uninstall
Replies: 5
Views: 3215

Uninstall

You want to log to a file? No sweat. Use the FileSystemObject's OpenTextFile() method. It has a parameter that lets it append to an existing file. The method returns an object; use its WriteLine() method to add lines to the text file. Use its Close() method to close the file.
by donj
Wed Mar 26, 2008 7:01 am
Forum: VBScript
Topic: Uninstall
Replies: 5
Views: 3215

Uninstall

So, is there something specific that your script does or doesn't do, that you want to change? I'm not sure how to "discover" machines running a particular piece of software - you'd have to connect to EVERY machine and look for a file or registry key - and it's going to take a LONG TIME dep...
by donj
Mon Mar 24, 2008 7:30 am
Forum: PrimalScript
Topic: Powershell support in 4.0.500
Replies: 5
Views: 2606

Powershell support in 4.0.500

v4.0 doesn't provide any PowerShell support at all - that support was added in v4.1 and continues in the current version, 2007.

You may want to contact our office (sales@sapien.com) to see if any discounted upgrade path is available for you.donj2008-03-24 14:31:28