I am trying to test for the existance of shares on a server. I can create a reference to the Lanmanserver object and enumerate the names of the existing shares but if there are no shares the script fails with and "Object required error" I know this is something simple but...
Sample...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.