none
Can I query a file share with WMI RRS feed

  • Question

  • I have the WBEMTest.exe tool.  I can connect to my local computer and issue WQL queries, but I am having trouble connecting to a fileshare.  I want to monitor a folder for new files.  It works on my local machine, butt I can't get it to work on the network share.  I would be happy tp just connect using WBEMTEST at this point.

    If my folder was on a remote machine, I would use the remote machine name and the namespacce, but does a file share have a machine name?  I am not sure?????   When I look at the folder in Windows Explorer I can't really find a remote machine name to use.  Do I need to need to contact a system admin???

    Any help iss appreciated.

    Mike

    Thursday, June 4, 2015 2:28 AM

All replies

  •      wmic /node:127.0.0.1 share get /format:list

    a share name is

        \\Computername\Sharename\folder\file.ext

    Wmic is easier than wbemtest.

    For help

        wmic /?

        wmic share /?

        wmic share get /? 

        wmic share set /?

        wmic share call /?

         wmic /node /?


    David Candy

    Sunday, June 7, 2015 12:59 PM