[THIN] Re: OT? WSH Logon Scripts
- From: Marco Cortigiani <tuscan@xxxxxxxxxxxxx>
- To: thin@xxxxxxxxxxxxx
- Date: Mon, 12 May 2003 21:22:29 -0400
Guys,
I am glad that I found some other citrix admin that are using WSH and
Vbscript like me. I also recommend these books "Windows Script Host"
Programmer's Reference by Dino Esposito, and "Windows 2000 Windows
Script Host" by Tim Hill, I also have "Teach Yourself Windows Script
Host in 21 Days" by Thomas Fredell. These author is maintaing these
scripting group http://groups.msn.com/WindowsScript. Another good
scripting source for administrator that want to learn scripting is
http://www.winnetmag.com. This the web site of windows magazine that
contains a lot of really cool scripting articles.
When we were looking to import the logon script into the W2K environment
I spent wrote a logon script that was using just wsh and vbscript. I
download a logon script from this site
http://groups.msn.com/WindowsScript, and I add few changes for our
environment. The script was starting an instance of the MS Explorer
greeting the user, showing the user name, mapping the drives, printers,
and finally closing the explorer. I put together the skeleton of this
script, that was documented, and that being a script language easily
readable. The reason that this script was not implemented was that the
network administrators of my previous company wanted a tool will
automatically generate the script. In this cookie cutting solution that
I provide them the only thing that they were supposed to do was to type
the right drive letter and unc in a sting like this
'Mapping the drive
wshNetwork.MapNetworkDrive "s:", "\\servername\sharename",
Can't be done we need a tool. Evidently they needed a tool that could
their mind, since they could not even read and type in english. If you
guys know such a tool let me know that I'll pass it to them.
Go figure it.
Ciao
Marco Cortigiani
Magnus wrote:
>I could not agree more and Both of those books are very good resources as
>well
>
>Magnus
>
>-----Original Message-----
>From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf
>Of Durbin, Jeff
>Sent: Monday, May 12, 2003 4:11 PM
>To: thin@xxxxxxxxxxxxx
>Subject: [THIN] Re: OT? WSH Logon Scripts
>
>
>
> I personally prefer tools that are native to the operating system, hence,
>my preference for WSH. With WSH, I can sit down at any NT4 or Win2K box and
>use VBScript. The knowledge translates over to full-on VB also, so I get
>proficiency in two areas for the price of one.=20
> A great book I learned a lot from is Thomas Eck's 'Windows NT/2000 ADSI
>Scripting for System Administration'; it shows you how to use VBSCript to
>manage users, computers, the IIS metabase, etc. I highly recommend it,
>although it won't teach you the basics of VBScript. For basic VBScript
>reference, I bought O'Reilly & Associates 'VBScript in a Nutshell'.
>
>JD
>
>-----Original Message-----
>From: Nail, Larry [mailto:lnail@xxxxxx]=20
>Sent: Monday, May 12, 2003 5:05 AM
>To: 'thin@xxxxxxxxxxxxx'
>Subject: [THIN] Re: OT? WSH Logon Scripts
>
>
>
>There are lots...
>
>Windows Script Host by Tim Hill - =3D http://makeashorterlink.com/?O1F042884
>- more about VBScript than WSH. Books 1 & 2 on this list are fairly good.
>BTW, WMI is where Microsoft = =3D is heading.
>
> http://makeashorterlink.com/?B21134884
>
>.....................
>
>As far as web sites:
>Win32 Scripting - http://cwashington.netreach.net/
>MS VB Scripting Primer -
>http://www.microsoft.com/technet/treeview/default.asp?url=3D3D/technet/sc=
>r
>=3D
>iptcen
>ter/scrguide/sas_vbs_overview.asp
>MSDN Scripting Site -
>http://msdn.microsoft.com/library/default.asp?url=3D3D/nhp/Default.asp?co=
>n
>=3D
>tentid
>=3D3D28001169
>MS Technet Script Center -
>http://www.microsoft.com/technet/treeview/default.asp?url=3D3D/technet/sc=
>r
>=3D
>iptcen
>ter/default.asp
>Windows Scripting Solutions - http://winscriptingsolutions.com/ - some = =3D
>paid access required wshUtilities and Scripts -
>http://home.att.net/~wshvbs/index.htm (some convenient info) Serverwatch
>- http://www.serverwatch.com/ - not an intuitive site, but =3D some of = the
>scripts/resources are well documented.
>
>
>-----Original Message-----
>From: Rosemary Sarkis [mailto:rosemary_sarkis@xxxxxxxxxxx]=3D20
>Sent: Sunday, May 11, 2003 10:20 PM
>To: thin@xxxxxxxxxxxxx
>
>
>Hi
>
>Whilst we are on the topic, can anyone suggest any good resources for
>learning VBScript & WSH (internet sites, books etc). I have no =3D
>experience in this and am keen to learn.. Not only for Citrix but also for
>=3D scripting desktop operating systems..
>
>Thanks
>Rose
>
>_________________________________________________________________
>MSN Instant Messenger now available on Australian mobile phones.=3DA0Go =
>=3D to http://ninemsn.com.au/mobilecentral/hotmail_messenger.asp
>
>********************************************************
>This Week's Sponsor - Emergent Online
>EOL's Universal Printer new Features include:
>Network Printing, Pagestreaming, 2400 DPI.
>No Client Software Required!
>http://www.go-eol.com/
>**********************************************************
>
>For Archives, to Unsubscribe, Subscribe or set Digest or Vacation mode = =3D
>use the below link: http://thethin.net/citrixlist.cfm
>********************************************************
>This Week's Sponsor - Emergent Online
>EOL's Universal Printer new Features include:
>Network Printing, Pagestreaming, 2400 DPI.
>No Client Software Required!
>http://www.go-eol.com/
>**********************************************************
>
>For Archives, to Unsubscribe, Subscribe or=20
>set Digest or Vacation mode use the below link:
>http://thethin.net/citrixlist.cfm
>********************************************************
>This Week's Sponsor - Emergent Online
>EOL's Universal Printer new Features include:
>Network Printing, Pagestreaming, 2400 DPI.
>No Client Software Required!
>http://www.go-eol.com/
>**********************************************************
>
>For Archives, to Unsubscribe, Subscribe or
>set Digest or Vacation mode use the below link:
>http://thethin.net/citrixlist.cfm
>
>********************************************************
>This Week's Sponsor - Emergent Online
>EOL's Universal Printer new Features include:
>Network Printing, Pagestreaming, 2400 DPI.
>No Client Software Required!
>http://www.go-eol.com/
>**********************************************************
>
>For Archives, to Unsubscribe, Subscribe or
>set Digest or Vacation mode use the below link:
>http://thethin.net/citrixlist.cfm
>
>
>
--
********************************************************
This Week's Sponsor - Emergent Online
EOL's Universal Printer new Features include:
Network Printing, Pagestreaming, 2400 DPI.
No Client Software Required!
http://www.go-eol.com/
**********************************************************
For Archives, to Unsubscribe, Subscribe or
set Digest or Vacation mode use the below link:
http://thethin.net/citrixlist.cfm
- References:
- [THIN] Re: OT? WSH Logon Scripts
- From: Magnus
Other related posts:
- » [THIN] OT? WSH Logon Scripts
- » [THIN] Re: OT? WSH Logon Scripts
- » [THIN] Re: OT? WSH Logon Scripts
- » [THIN] Re: OT? WSH Logon Scripts
- » [THIN] Re: OT? WSH Logon Scripts
- » [THIN] Re: OT? WSH Logon Scripts
- » [THIN] Re: OT? WSH Logon Scripts
- » [THIN] Re: OT? WSH Logon Scripts
- » [THIN] Re: OT? WSH Logon Scripts
- » [THIN] Re: OT? WSH Logon Scripts
- » [THIN] Re: OT? WSH Logon Scripts
- » [THIN] Re: OT? WSH Logon Scripts
- » [THIN] Re: OT? WSH Logon Scripts
- » [THIN] Re: OT? WSH Logon Scripts
- » [THIN] Re: OT? WSH Logon Scripts
- » [THIN] Re: OT? WSH Logon Scripts
- » [THIN] Re: OT? WSH Logon Scripts
- » [THIN] Re: OT? WSH Logon Scripts
- » [THIN] Re: OT? WSH Logon Scripts
- » [THIN] Re: OT? WSH Logon Scripts
- » [THIN] Re: OT? WSH Logon Scripts
- » [THIN] Re: OT? WSH Logon Scripts
- » [THIN] Re: OT? WSH Logon Scripts
- » [THIN] Re: OT? WSH Logon Scripts
- [THIN] Re: OT? WSH Logon Scripts
- From: Magnus