Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > PowerShell

Vista - run .cmd scripts on remote machine (automating the MOSS install via scripts)

Reply
 
Old 07-21-2009   #1 (permalink)
Zoran


 
 

run .cmd scripts on remote machine (automating the MOSS install via scripts)

Hi All,

we did some .cmd sripts that one can run on different servers, and get the
farm installed, get servers connected to the farm, install servers with
different roles, and so on.

Those scripts we run on the machines (via RDP), that are btw Windows 2008
sp2, in 2008 AD.

Now, we would like to be able to run the scripts from i.e.
administrator-workstation, where we just run one script per server role, and
that script should then call the other scripts that should be run on the
appropriate servers.

We saw that it can be done iva WMI, but is there a smarter solution, now
having this PowerShell on our 2008 servers in 2008 domain?

Thanx in advance!

Regards,

Zoran



My System SpecsSystem Spec
Old 07-21-2009   #2 (permalink)
Marco Shaw [MVP]


 
 

Re: run .cmd scripts on remote machine (automating the MOSS install via scripts)

PowerShell v1 doesn't come with any built-in remoting itself, so normally
something like WMI or even WinRM would be used as a "helper" for remoting.

So how about WinRM:
http://www.windowsnetworking.com/art...nRM-WinRS.html

With PowerShell v2, you will have built-in remoting (based on WinRM 2.0).

Marco

"Zoran" <ms.news@xxxxxx> wrote in message
news:#h0VO9eCKHA.3724@xxxxxx
Quote:

> Hi All,
>
> we did some .cmd sripts that one can run on different servers, and get the
> farm installed, get servers connected to the farm, install servers with
> different roles, and so on.
>
> Those scripts we run on the machines (via RDP), that are btw Windows 2008
> sp2, in 2008 AD.
>
> Now, we would like to be able to run the scripts from i.e.
> administrator-workstation, where we just run one script per server role,
> and that script should then call the other scripts that should be run on
> the appropriate servers.
>
> We saw that it can be done iva WMI, but is there a smarter solution, now
> having this PowerShell on our 2008 servers in 2008 domain?
>
> Thanx in advance!
>
> Regards,
>
> Zoran
>
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
How to bring up remote Exchange cluster by VBScript/WMI scripts VB Script
In Powershell execute scripts on many remote machines ,Monitor and report back General Discussion
Re: VMware remote console causing powershell scripts to terminate? PowerShell
executing scripts async on remote hosts PowerShell
Running remote scripts PowerShell


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46