Is there a way to remotely shut down a Vista PC through a script?

I have two PCs on my network. I run Windows Small Business Server 2003 on
one PC and Vista Ultimate 64-bit on the other and the Vista PC is part of the
SBS domain. I have a UPS that's managed by SBS. When the UPS is about to
shutdown SBS when it's battery is low, the UPS management software has the
option to run a batch file on SBS. I would like to invoke a script from the
batch file to forcefully shutdown the Vista PC.

How do I do this?

Thanks.

Re: Remotely shutting down a Vista PC. by Pegasus

Pegasus
Mon Oct 22 08:36:55 PDT 2007


"JJ" <JJ@discussions.microsoft.com> wrote in message
news:AC122C7F-6762-41D8-B512-FEF01F49D476@microsoft.com...
> Is there a way to remotely shut down a Vista PC through a script?
>
> I have two PCs on my network. I run Windows Small Business Server 2003 on
> one PC and Vista Ultimate 64-bit on the other and the Vista PC is part of
> the
> SBS domain. I have a UPS that's managed by SBS. When the UPS is about to
> shutdown SBS when it's battery is low, the UPS management software has the
> option to run a batch file on SBS. I would like to invoke a script from
> the
> batch file to forcefully shutdown the Vista PC.
>
> How do I do this?
>
> Thanks.
>

Why run a script from your batch file if you can invoke shutdown.exe
directly from within the batch file?



Re: Remotely shutting down a Vista PC. by JJ

JJ
Mon Oct 22 11:38:00 PDT 2007

That's great. Thanks.

"Pegasus (MVP)" wrote:

>
> "JJ" <JJ@discussions.microsoft.com> wrote in message
> news:AC122C7F-6762-41D8-B512-FEF01F49D476@microsoft.com...
> > Is there a way to remotely shut down a Vista PC through a script?
> >
> > I have two PCs on my network. I run Windows Small Business Server 2003 on
> > one PC and Vista Ultimate 64-bit on the other and the Vista PC is part of
> > the
> > SBS domain. I have a UPS that's managed by SBS. When the UPS is about to
> > shutdown SBS when it's battery is low, the UPS management software has the
> > option to run a batch file on SBS. I would like to invoke a script from
> > the
> > batch file to forcefully shutdown the Vista PC.
> >
> > How do I do this?
> >
> > Thanks.
> >
>
> Why run a script from your batch file if you can invoke shutdown.exe
> directly from within the batch file?
>
>
>