Hi all,

I was wondering if you can show me the code necessary reboot a Windows 2K or
Windows XP equipmented PC? I frequently remote into a number of PCs and
sometimes the need a reboot. Instead of asking someone directly and asking
them to reboot the machines, isn't there a way to write a VBS script to do
that?

Can you also share with me the JScript equivalent for the WSH environment?
Many thanks.

Ben



--

Re: Script to reboot PCs by y

y
Mon Nov 28 08:40:22 CST 2005

"Ben" <Ben@discussions.microsoft.com> wrote in message
news:F43D8C3A-7D94-45E7-900A-EE84895F5DEB@microsoft.com...
> Hi all,
>
> I was wondering if you can show me the code necessary reboot a Windows 2K
> or
> Windows XP equipmented PC? I frequently remote into a number of PCs and
> sometimes the need a reboot. Instead of asking someone directly and
> asking
> them to reboot the machines, isn't there a way to write a VBS script to do
> that?
>

http://www.microsoft.com/technet/scriptcenter/scripts/desktop/state/dmstvb07.mspx

Y Sakuda from JPN


Re: Script to reboot PCs by Ben

Ben
Mon Nov 28 15:16:13 CST 2005

Thanks Sakuda.

Ben

--



"y sakuda" wrote:

> "Ben" <Ben@discussions.microsoft.com> wrote in message
> news:F43D8C3A-7D94-45E7-900A-EE84895F5DEB@microsoft.com...
> > Hi all,
> >
> > I was wondering if you can show me the code necessary reboot a Windows 2K
> > or
> > Windows XP equipmented PC? I frequently remote into a number of PCs and
> > sometimes the need a reboot. Instead of asking someone directly and
> > asking
> > them to reboot the machines, isn't there a way to write a VBS script to do
> > that?
> >
>
> http://www.microsoft.com/technet/scriptcenter/scripts/desktop/state/dmstvb07.mspx
>
> Y Sakuda from JPN
>
>