Search found 13684 matches

by jvierra
Fri Nov 30, 2007 3:56 am
Forum: Other Scripting Languages
Topic: Disk report with WMIC
Replies: 4
Views: 10057

Disk report with WMIC

The biggest rawback in WMIC is that it outputs in Unicode (It's internationalized) which will cause problems unless you use a utility to convert it if you need it in ANSI (single byte). I believe you need to be sure "/Interactive:OFF" is set or it will wrap lines on output. Jeff is right in suggesti...
by jvierra
Thu Nov 29, 2007 2:40 am
Forum: VBScript
Topic: Authentication script
Replies: 2
Views: 806

Authentication script

Here is an alternate method that Don just reminded me of. You can use the WinNT provider to enumerate the local accounts on any machine in a domain or any machine that you have admin access to in a workgroup. Function GetUsers(sComputer) Dim user    Set Users = GetObject("WinNT://" & sComputer)    F...
by jvierra
Thu Nov 29, 2007 12:21 am
Forum: VBScript
Topic: Authentication script
Replies: 2
Views: 806

Authentication script

Look into using WMI to retrieve the user accounts and to do the Ping.

You will need to be an administrator on the domain or know the local admin account password.

by jvierra
Tue Nov 27, 2007 7:46 am
Forum: VBScript
Topic: Query exchange configuration
Replies: 4
Views: 1338

Query exchange configuration

Yes -that's goos. I'll have to look more closely at the Exchange WMI classes. - Thanks Jeff.

I'm eading your article too.
by jvierra
Tue Nov 27, 2007 5:35 am
Forum: VBScript
Topic: How to create Subfolders and assign permissions
Replies: 6
Views: 5495

How to create Subfolders and assign permissions

There was a script solution in teh ScriptVault but it seems to have disappeared. I recreated it and uploaded. Here is a text copy of the script. uploads/2491/MkDir.txt Somrtimes we don''t want to shell out of script and need to make a folder path. This code behaves similar to MD/MkDir. and is easy t...
by jvierra
Tue Nov 27, 2007 4:35 am
Forum: VBScript
Topic: Alternative to FreeMem using Object Model and WMI
Replies: 5
Views: 4036

Alternative to FreeMem using Object Model and WMI

Thans jdelatorre. Feedback is always welcome and I particularly like positive feedback although the negative can be very helpful. As I get back to my normal energy levels I hope I will be able to take on more "corner-case" issues in the blog and contribute what I can to this and other forums. Thanks...
by jvierra
Sun Nov 25, 2007 7:30 am
Forum: VBScript
Topic: modifying a parameter value in the XML file by usi
Replies: 3
Views: 840

modifying a parameter value in the XML file by usi

The easiest way to do this is with a substring replacement of tehe whole XML tag that the value sits in. newstring = Replace( oldstring,"value to trplace","new value") The save newstring back to the file. If you want to do it with the DOM it's a long steep learning curve and a waste of time if you n...
by jvierra
Sun Nov 25, 2007 5:00 am
Forum: PrimalScript
Topic: Licence key failed with update to Primalscript
Replies: 10
Views: 1915

Licence key failed with update to Primalscript

WOW! That was fast. I thought you would all be off today.

Than you. That fixed the issue.
by jvierra
Sun Nov 25, 2007 4:30 am
Forum: PrimalScript
Topic: Licence key failed with update to Primalscript
Replies: 10
Views: 1915

Licence key failed with update to Primalscript

I have teh same issue with PS 4.1 Update 451 has invalidated my key.
by jvierra
Sun Nov 25, 2007 3:06 am
Forum: VBScript
Topic: Alternative to FreeMem using Object Model and WMI
Replies: 5
Views: 4036

Alternative to FreeMem using Object Model and WMI

Scripting with VBScript using PrimalScript as an editor is a very good way to learn the basics of programming. I disagree about "only serious programming system". This issue was put to rest a number of years ago. C/C++ is used mostly for low level systems programming and doesn't lend itself well to ...