Search found 14540 matches

by jvierra
Thu Jun 28, 2007 3:30 am
Forum: Other Scripting Languages
Topic: Article: Eight Reasons to use JScript
Replies: 12
Views: 19173

Article: Eight Reasons to use JScript

Bill Yes I agree mostly. JScript is much better for designing complex code structures and has great support for exception handling. The biggest drawback for many admins is a lack of any formal training in programming. JScript is a more technical language by design and does require a fairly long and ...
by jvierra
Thu Jun 28, 2007 3:22 am
Forum: VBScript
Topic: Reading in multipule line text via StdIn
Replies: 6
Views: 4232

Reading in multipule line text via StdIn

Ctrl-Z.

That is the text tream end-of-stream trigger. You probably won't get it if you are doing paste as paset uses a different method for feeding the clipboard to the console.
by jvierra
Wed Jun 27, 2007 8:15 am
Forum: VBScript
Topic: Reading in multipule line text via StdIn
Replies: 6
Views: 4232

Reading in multipule line text via StdIn


reading = true
While reding line = WScript.StdIn.ReadLine()
if line = "some end value" Then
reading = false
End If
input = input & lineWend
depends on exact format of the input stream.
by jvierra
Wed Jun 27, 2007 12:40 am
Forum: VBScript
Topic: Delete file if Process is terminated
Replies: 4
Views: 2246

Delete file if Process is terminated

This apears to be a usual issue with TS. You have moved the user profile under TS sessions. The profile crates a temporary file folder under teh user temp folder. The TS session does not completely delete the ftemporary files when the session terminates. Look at teh TS session settings and be sure t...
by jvierra
Mon Jun 25, 2007 5:27 am
Forum: VBScript
Topic: Get <span> values from array
Replies: 8
Views: 7660

Get <span> values from array

PowerShell TFM is, in my opinion, an excelent book to start with. It is written for both vbscrters and for those new to scripting. Don and Jeff leave little to be assumed in their overview of PowerShell as an admin scripting environment. Idelly when using HTML for anythng more than a basic HTA proje...
by jvierra
Sat Jun 23, 2007 4:17 am
Forum: VBScript
Topic: Get <span> values from array
Replies: 8
Views: 7660

Get <span> values from array

Had some time to kll so I made the demo work your way. Here is a working sample that will query and DNS server in the domain and return a list of zones. Click on the zone and it will call a sub and the sub will tell you what you clicked. All of this takes one line of code: "window.event.srcElement.i...
by jvierra
Fri Jun 22, 2007 9:12 am
Forum: VBScript
Topic: Adding columns to a .xls file
Replies: 1
Views: 1656

Adding columns to a .xls file

Either create the file using the Excel COM interfaces or open it using the Excel object and do a "SaveAs" to convert the file.
by jvierra
Fri Jun 22, 2007 12:37 am
Forum: VBScript
Topic: How to remove part of filename
Replies: 13
Views: 7429

How to remove part of filename

Go to MS download site and downlaoad and install latest WSH pacjkage. I think it's also linked on teh MS scripting site.
by jvierra
Fri Jun 22, 2007 12:24 am
Forum: VBScript
Topic: How to remove part of filename
Replies: 13
Views: 7429

How to remove part of filename

Check the version of WSH.

W2K came with WSH 5.1. It may not have been upgraded. I don't think SP4 updated WSH.
by jvierra
Wed Jun 20, 2007 7:29 am
Forum: VBScript
Topic: Discover multifunction Adapter
Replies: 5
Views: 3504

Discover multifunction Adapter

Run webemtest and look at the adapters. WHat is in the caption, name or description that you can use? Note that for most ILO methods teh adap[ter is configured in the BIOS and not the OS. The adapter does not normally appear to teh OS. Some vendors add custom MOFs to make it accessible. HP may have ...