microsoft.public.scripting.wsh
  Home FAQ Contact Sign in
microsoft.public.scripting.wsh only
 
Advanced search
June 2008
motuwethfrsasuw
      1 22
2345678 23
9101112131415 24
16171819202122 25
23242526272829 26
30       27
2008
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008 2007 2006  
total
microsoft.public.scripting.wsh Profile…
RELATED GROUPS

POPULAR GROUPS

more...

 Up
  Using ASP.NET/WMI to remotely map a network drive         


Author: Brian Nicholson
Date: Jun 30, 2008 10:30

Hello; I am a summer intern working on an IT admin page for our helpdesk.
One of the requested features of this page was the ability to map network
drives by specifying the machine/user, the path to the network share, and the
drive to map to. I originally posted this question in ASP.NET/VB forums, but
I was told to ask in a WMI forum for help to update user profiles to perform
this. I could probably generate something that works on the web server
without a problem, but how could I get these scripts to run on other
computers?
1 Comment
  Web services: Next steps         


Author: deostroll
Date: Jun 29, 2008 03:25

Trying to learn how to call a web service from script. I know we can
use the XMLHttpRequest object to invoke a call. But I don't know how
to initiate the call, and also pass arguments to my web method. The
web method is as defined below C#:

[WebMethod]
public string FahrenheitToCelcius(string fahrenheit)
{
Double fahr;
if ((fahrenheit.Trim().Length == 0) ||
Double.TryParse(fahrenheit.Trim(), out fahr) == false)
{
return "Error";
}
else
return string.Format("{0}", ((fahr - 32) / 9) * 5);
}

It is converts fahrenheit to celcius. The argument is a string. How
can I call this web method and also receive its output?

--deostroll
no comments
  Hate Your Job?         


Author: btb.102
Date: Jun 29, 2008 02:56

Do You Hate Your Job?
If You Are Like Me And REALLY Hate Your Job, You Can Do What I have Done And
Tell All About Your Company At A Great And CHEAP New Site Called
Dont Work For These . Com

http://www.dontworkforthese.com
This Site Has Chat Rooms,
A Joke Section,
A Great Story Section Where You Can Tell All The Funny Or Stupid Things That
Happen Or Have Happened To You During Your Working Day.
Work Forums For You To Ask And Reply To Questions
And Do Not Forget You Can Tell All About Your Terrible Treatment You Endure
While Trying To Make A Living.
Best Of All They DO NOT Want Your Credit Card Details In Order To Join.
You Pay Through PayPal
no comments
  Disable devices (Vista)         


Author: G. Schnitzelberger
Date: Jun 27, 2008 05:05

Hi folks,

I was wondering if there was a way to disable (several) devices via VBS.
Is there a way to achieve this?

Greets,
GP
no comments
  VBS question         


Author: rvaede
Date: Jun 26, 2008 19:11

I have a VBS script that is used as a schuled job via windows
scheduler.
Is there a command that I can put in the script that will enable
debugging mode/verbose.
The script is not making an ftp connection, I need to find out why. I
do check for return codes but it never reaches that point.

thanks
4 Comments
  execute WSH in a js file from html?         


Author: Luting
Date: Jun 26, 2008 12:02

Hi all,

How can I execute a WSH program from html file? The wsh program is
stored in a .js file. I tried to include the .js file as usual:


But it didn't work.
The wsh itself works just fine when I double click on it.
Could you help me out?
7 Comments
  Program Window disappeares after I minimize it         


Author: Luting
Date: Jun 24, 2008 13:02

Hi all,

I am a totally newbie in WSH. My program is in .js file but uses
wscript object. It works well but everytime when I minimize the
program window, it disappears. There is no icon at the bottom of my
screen for me to pop it up again.

How come this happens?
How should I fix it?
4 Comments
  Tom Lavedas's Seelction Box script - IE remains running         


Author: Bill Mosca
Date: Jun 19, 2008 07:54

I'm using a script from Frans Erich to filter AD groups, select a AD group
and make a list of its users that incorporated Tom Lavedas's Selection Box
code from his URL http://members.cox.net/tglbatch/wsh/index.shtml

It seems that the script is not closing out the IE object. After I run a
script that uses it, I can still see iexplorer.exe in the task manager's
Processes window.

I tried adding a line to set the IE object to Nothing, but that did not
solve the problem. Is there a way to explicitly end the process?

12 Comments
  server checking script to save time         


Author: Rich
Date: Jun 11, 2008 17:58

Hi scripting geniuses. I'm looking for a script that i could just
double-click that would save me a TON of time every day. I have a list of
servers that i need the following info for for each drive letter on each
server: free disk space, %% free disk space (free disk space/total disk
space). I also have a flaky Microsoft Server 2003 cluster which i would LOVE
if the script could also tell me which cluster resource groups are on which
node. This would tell me if something went bump in the night and i need to
look into it. any and all help is appreciated, maybe i could even start
leaving work on time if this script saves me time, haha.
3 Comments
  which direction to go         


Author: David
Date: Jun 11, 2008 13:24

Hello,

quick scenario: I have experience with batch files, vbscript/wsh, bash shell
scripting, and vb.net/c#.net programming. None of which do I do everyday.
Over the years I have used these things to accomplish tasks or solve
problems as needed. I am about to move into a position where automation in
general will be key. Server deployment will be the primary area utilizing
Windows Automated Deployment Services and later System Center Configuration
Manager. So its time for me to update myself on the options out there now
for scripting for deployment and ongoing administration purposes.

1) what to focus on first? stick with vbscript/WSH, pull in WMI when needed
or do I not bother refreshing and updating myself on that and go right to
powershell/WMI?

2) I've used Visual Studio 2005 for some app development and noticed it has
support for WSH projects which I assume means all the great features of that
IDE will be available for WSH projects such as autocompletion and
documentation with examples at your fingertips. I'm also assuming getting VS
2005 only for scripting may be overkill. What options are out there now as
far as code editors that may have similar features to VS 2005 only just for
scripting?
Show full article (1.29Kb)
3 Comments
1 2