Pin Calc to Start Menu on Remote Computers

G

Guest

I need to be able to Pin the Calculator to the start menu on around 60 remote
computers, is there some way of doing this?

Some script maybe?
 
G

Guest

Yeah I've seen this and I can run this from the command prompt using csript
or wscript on my local machine, but I need some way of running a batch file
type thing where I can run it on a number of remote pc's
 
G

Guest

Yeah we could do it that way, but I though it would be just as easy to run a
one off script that looped through and ran my pin_calc.vbs script on each pc
in a list.

Just not sure how to do this??
 
G

Guest

I don't have outlook express so is there somewhere in the online newsgroups I
can find the WMI section?
 
D

David Candy

Windows Script Host

WshRemote Object
See Also
WshController Object

Language
a.. JScript

b.. VBScript

c.. Show All



Provides access to the remote script process.

Remarks
The WshRemote object allows you to remotely administer computer systems on a computer network. It represents an instance of a WSH script, i.e., a script file with one of the following extensions: .wsh, .wsf, .js, ..vbs, .jse, .vbe, and so on. An instance of a running script is a process. You can run the process either on the local machine or on a remote machine. If you do not provide a network path, it will run locally. When a WSHRemote object is created (by using the CreateScript() method), the script is copied to the target computer system. Once there, the script does not begin executing immediately; it begins executing only when the WSHRemote method Execute is invoked. Through the WshRemote object interface, your script can manipulate other programs or scripts. Additionally, external applications can also manipulate remote scripts. The WshRemote object works asynchronously over DCOM.

Example
The following example demonstrates how the WshRemote object is used to start a remote script.

[VBScript]
Dim Controller, RemoteScript
Set Controller = WScript.CreateObject("WSHController")
Set RemoteScript = Controller.CreateScript("test.js", "remoteserver")
RemoteScript.Execute

Do While RemoteScript.Status <> 2
WScript.Sleep 100
Loop[JScript]
var Controller = WScript.CreateObject("WSHController");
var RemoteScript = Controller.CreateScript("test.js", "remoteserver");
RemoteScript.Execute();

while (RemoteScript.Status != 2) {
WScript.Sleep(100);
}Properties
Status Property | Error Property

Methods
Execute Method | Terminate Method

Events
Start Event | End Event | Error Event

See Also
WshController Object



--------------------------------------------------------------------------------

© 2001 Microsoft Corporation. All rights reserved.

Build: Topic Version 5.6.9309.1546
 
R

Ramesh, MS-MVP

Thanks for the info David.

--
Ramesh, MS-MVP
Windows Shell/User

Windows XP Troubleshooting
http://www.winhelponline.com
http://windowsxp.mvps.org

Windows XP Newsgroup Setup Instructions for Outlook Express:
http://www.microsoft.com/windowsxp/expertzone/newsgroupsetup.mspx


"David Candy" <.> wrote in message

Windows Script Host

WshRemote Object
See Also
WshController Object

Language
a.. JScript

b.. VBScript

c.. Show All



Provides access to the remote script process.

Remarks
The WshRemote object allows you to remotely administer computer systems on a
computer network. It represents an instance of a WSH script, i.e., a script
file with one of the following extensions: .wsh, .wsf, .js, .vbs, .jse,
..vbe, and so on. An instance of a running script is a process. You can run
the process either on the local machine or on a remote machine. If you do
not provide a network path, it will run locally. When a WSHRemote object is
created (by using the CreateScript() method), the script is copied to the
target computer system. Once there, the script does not begin executing
immediately; it begins executing only when the WSHRemote method Execute is
invoked. Through the WshRemote object interface, your script can manipulate
other programs or scripts. Additionally, external applications can also
manipulate remote scripts. The WshRemote object works asynchronously over
DCOM.

Example
The following example demonstrates how the WshRemote object is used to start
a remote script.

[VBScript]
Dim Controller, RemoteScript
Set Controller = WScript.CreateObject("WSHController")
Set RemoteScript = Controller.CreateScript("test.js", "remoteserver")
RemoteScript.Execute

Do While RemoteScript.Status <> 2
WScript.Sleep 100
Loop[JScript]
var Controller = WScript.CreateObject("WSHController");
var RemoteScript = Controller.CreateScript("test.js", "remoteserver");
RemoteScript.Execute();

while (RemoteScript.Status != 2) {
WScript.Sleep(100);
}Properties
Status Property | Error Property

Methods
Execute Method | Terminate Method

Events
Start Event | End Event | Error Event

See Also
WshController Object



--------------------------------------------------------------------------------

© 2001 Microsoft Corporation. All rights reserved.

Build: Topic Version 5.6.9309.1546
 
H

Homer J. Simpson

I don't have outlook express

How'd that happen? Surely you have *something* that can handle
news://msnews.microsoft.com/.....?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top