Support Forums

Search found 10510 matches

by jvierra
Tue Jan 19, 2010 3:53 am
Forum: Windows PowerShell
Topic: Background Jobs
Replies: 11
Views: 3782

Background Jobs

The first thing I see is that youare spawning a job inside of a job. Not really a good idea.
by jvierra
Tue Jan 19, 2010 3:28 am
Forum: VBScript
Topic: Run script \ if
Replies: 4
Views: 454

Run script \ if

if <test> Then ; do something else ' do something End If I don't think your question is clear. Are you trying to determine if a firewall is installed? The HFNetConfig ill only work for Microsft firewalls and not third party. Why would you want to disable a firewall? YOu can only do it as an ...
by jvierra
Tue Jan 19, 2010 3:13 am
Forum: Windows PowerShell
Topic: Background Jobs
Replies: 11
Views: 3782

Background Jobs

How are you loading your script file?
by jvierra
Tue Jan 19, 2010 2:18 am
Forum: Windows PowerShell
Topic: Background Jobs
Replies: 11
Views: 3782

Background Jobs

The question is can you run it remotely without it hanging. Does you job run against any server ever? You are asking to wait-job. The code will hang here forever if the remote server throws an error that cannot be caught by WMI. Look at the event log on the remote server. I can run your job without ...
by jvierra
Tue Jan 19, 2010 1:38 am
Forum: VBScript
Topic: Input Box Lenght
Replies: 4
Views: 521

Input Box Lenght

Save teh following to a file with an HTA extension and run to test. The HTA has no issues with input of great length. (I tested to more than 2000 characters. My HTML Application Sub send_onclick() txtLen.innerText = Right("00000" & Len(inp.Value),5) outTxt.innerText = inp.Value End Sub Input URL: (P...
by jvierra
Tue Jan 19, 2010 1:04 am
Forum: VBScript
Topic: Input Box Lenght
Replies: 4
Views: 521

Input Box Lenght

The url you poted is 271 char long. It looks like an input box has been limited to 256 chars. This may be a residue of security that has been enforced on browsers and on scripting. WHy are you using a converted URL. Just ype in the standard url and let the browser do the conversion. That will save y...
by jvierra
Mon Jan 18, 2010 8:56 pm
Forum: VBScript
Topic: Input Box Lenght
Replies: 4
Views: 521

Input Box Lenght

The problem is not with InputBox of VBS. There is no reasonable limit to string sizes. I believe that you can create srtinngs in excess of 32000 characters. The issue is that IE does not allow urls to exceed 128 characters. What is the exact error you are getting. I suspect that something else is wr...
by jvierra
Mon Jan 18, 2010 11:45 am
Forum: Windows PowerShell
Topic: reading help files
Replies: 3
Views: 360

reading help files

Keep up with the awesome questions.

GL;)
by jvierra
Mon Jan 18, 2010 10:35 am
Forum: Windows PowerShell
Topic: reading help files
Replies: 3
Views: 360

reading help files

Note that even in first grade we were limited to two question per hand raising. You have exceeded your limit. Please go to the back of the line. Actually it's a good question. Just read each of the items more carefully. In most cases the help is very complete and unambiguous but sometimes it can be ...
by jvierra
Mon Jan 18, 2010 10:17 am
Forum: VBScript
Topic: Exchange LastLogon Formating
Replies: 6
Views: 1055

Exchange LastLogon Formating

You need to use WMI date conversion from WMI date time to system format. Here is a sampler: strComputer = InputBox("Server:","Enter the Exchange Server to Query","ALPHA") Set dateTime = CreateObject("WbemScripting.SWbemDateTime") Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonat...

Go to advanced search