Limitations of Remote WSH

Microsoft® Windows® 2000 Scripting Guide

microsoft windows 2000 scripting guide

« Previous | Next »   

Remote WSH has two important limitations. First, there is no easy way to retrieve the output from a remotely run script. Second, remotely run scripts cannot access shared folders using the credentials of the user who ran the controller script.

To work around the first problem, you can create a text file that holds the results of your worker script. You might create the file on a shared folder on each of the remote computers you are running the worker scripts on and then retrieve the files and store them in a central location. To learn about creating text files and accessing them by using UNC paths, see "Script Runtime Primer" in this book.

However, there is no way around the second problem, at least not without creating potential security vulnerabilities.


send us your feedback Send us your feedback « Previous | Next »   


Microsoft Windows 2000 Scripting Guide(c) Automating System Administration 2003
Microsoft Windows 2000 Scripting Guide(c) Automating System Administration 2003
ISBN: N/A
EAN: N/A
Year: 2004
Pages: 635

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net