Search found 15436 matches

by jvierra
Mon Oct 06, 2008 3:10 pm
Forum: VBScript
Topic: Basics do not work!!
Replies: 7
Views: 2719

Basics do not work!!

I don't understand your question. Quotes have nothing to do with line breaks. Every string must be enclossed in quotes. <br/> is not a line break but is a string that is being written to the browser document object body. document.write takes a string as an argument. You need to purchase a book that ...
by jvierra
Mon Oct 06, 2008 1:21 pm
Forum: VBScript
Topic: Basics do not work!!
Replies: 7
Views: 2719

Basics do not work!!

REname file to an HTA extension.

YOu forgot to put quotes around <BR/> in the second write statement.

by jvierra
Mon Oct 06, 2008 10:46 am
Forum: VBScript
Topic: Basics do not work!!
Replies: 7
Views: 2719

Basics do not work!!

This is actually closer to yours. <html>  <head>   <title>Learning VB Script</title>  </head>  <body>   <h1>Crewd way of Learning Vb Script</h1>   <P>Pink rose are lovely!!</p>      <input type="Button" Name="ClickMe" value="Click Me">         <SCRIPT FOR="ClickMe&...
by jvierra
Sat Oct 04, 2008 5:26 am
Forum: PowerShell
Topic: Powershell and robocopy like functionality
Replies: 3
Views: 5811

Powershell and robocopy like functionality

Myrabel Microsoft SyncToy was made for you. Grab it from the Microsoft download site. It will let you define folders and files to be kept in sync between to locations. I was looking for a direct replacement for RoboCopy but didn't find one although many are using XCOPY and other tools like XXCOPY. Y...
by jvierra
Fri Oct 03, 2008 12:43 am
Forum: VBScript
Topic: Modify Registry to change IP Address
Replies: 5
Views: 3515

Modify Registry to change IP Address

You can put the command line into a CMD or BAT file just as it is displayed above. Be sure to have only the line in the REG file that you want to change or you may run into problems between variations on machines. If this only needs to be done once or very occasionally I highly recommend using vbscr...
by jvierra
Thu Oct 02, 2008 7:02 am
Forum: VBScript
Topic: Remote Uninstall
Replies: 2
Views: 2174

Remote Uninstall

Unfortunately there is no way to run a remote script that will run teh installer if the installer REQUIRES an interactive session. AFter all that is why it is a requirement because you can't get around it. The STUNST file is from the old Setup program which has been mostly out of use for some years....
by jvierra
Mon Sep 29, 2008 10:29 am
Forum: VBScript
Topic: Identifying Unique File Shares
Replies: 7
Views: 5538

Identifying Unique File Shares

You can also use the command line:

cluster resource "FSHR1"

This defaults to listing the resource. I think it will display the staus too.

The CLUSTER command line utility can get any of the info you ae looking for.
by jvierra
Mon Sep 29, 2008 10:16 am
Forum: VBScript
Topic: Identifying Unique File Shares
Replies: 7
Views: 5538

Identifying Unique File Shares

One last note: The WMI classes are all imstalled on WS2003 and later even with no CLuster being defined. They are at rootMSCluster. You can see them all with WBEMTEST. Look at the instances of MSCluster_ClusterToResource. This will give you an id4ea of how to find things. There are also WMI event cl...
by jvierra
Mon Sep 29, 2008 10:03 am
Forum: VBScript
Topic: Identifying Unique File Shares
Replies: 7
Views: 5538

Identifying Unique File Shares

Well - I'm wrong again.

Here it is: http://msdn.microsoft.com/en-us/library ... S.85).aspx
All of the objects have WMI wrappers but NO examples. You need the API vbscript code to know how to enumerate the objects and resources.
by jvierra
Mon Sep 29, 2008 9:54 am
Forum: VBScript
Topic: Identifying Unique File Shares
Replies: 7
Views: 5538

Identifying Unique File Shares

This is specific to file shares. http://msdn.microsoft.com/en-us/library/aa369199(VS.85).aspx It's good you asked for this as I am going to need this in a couple of weeks so it's good to find it now. YOu should also look at the NLB (Network Load Balancing) API in the same section of MSDN.