Hi,

Does anyone have a list of all the oNetwork. I.e.
oNetwork.AddWindowsPrinterConnection, oNetwork.SetDefaultPrinter etc
Is there a way to delete all current Windows printers? Maybe something like
oNetwork.DeleteWindowsPrinterConnection

Cheers

Ben

Re: oNetwork Functions? by Torgeir

Torgeir
Wed Sep 17 12:56:24 CDT 2003

Ben Blackmore wrote:

> Does anyone have a list of all the oNetwork. I.e.
> oNetwork.AddWindowsPrinterConnection, oNetwork.SetDefaultPrinter etc
> Is there a way to delete all current Windows printers? Maybe something like
> oNetwork.DeleteWindowsPrinterConnection

Hi

They are all listed under "WshNetwork Object" in the Index tab in the WSH
documentation.


WSH 5.6 documentation (local help file) can be downloaded from here:
http://msdn.microsoft.com/downloads/list/webdev.asp


--
torgeir
Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of the 1328 page
Scripting Guide: http://www.microsoft.com/technet/scriptcenter



Re: oNetwork Functions? by Ben

Ben
Thu Sep 18 02:18:08 CDT 2003

Many thanks, I'll take a look.
Ben

"Torgeir Bakken (MVP)" <Torgeir.Bakken-spam@hydro.com> wrote in message
news:3F68A048.66C712EF@hydro.com...
> Ben Blackmore wrote:
>
> > Does anyone have a list of all the oNetwork. I.e.
> > oNetwork.AddWindowsPrinterConnection, oNetwork.SetDefaultPrinter etc
> > Is there a way to delete all current Windows printers? Maybe something
like
> > oNetwork.DeleteWindowsPrinterConnection
>
> Hi
>
> They are all listed under "WshNetwork Object" in the Index tab in the WSH
> documentation.
>
>
> WSH 5.6 documentation (local help file) can be downloaded from here:
> http://msdn.microsoft.com/downloads/list/webdev.asp
>
>
> --
> torgeir
> Microsoft MVP Scripting and WMI, Porsgrunn Norway
> Administration scripting examples and an ONLINE version of the 1328 page
> Scripting Guide: http://www.microsoft.com/technet/scriptcenter
>
>