Windows Vista Forums

Re: wmisearcher
  1. #1


    Shay Levy [MVP] Guest

    Re: wmisearcher

    Hello tonyr,

    See this post:
    http://blogs.msdn.com/powershell/arc...26/647038.aspx





    ---
    Shay Levy
    Windows PowerShell MVP
    http://blogs.microsoft.co.il/blogs/ScriptFanatic

    t> look everywhere for this but can't find the answer!
    t>
    t> whats the syntax for wmisearch for remote devices, the wmi
    t> accelerator is easy
    t> [wmi]\\servername etc but the same syntax does not work for wmi.
    t> thanks
    t> tr



      My System SpecsSystem Spec

  2. #2


    tonyr Guest

    Re: wmisearcher

    yea thats were I got most of my examples but I don't think it shows me an
    example of what I'm trying to do!

    it shows the wmisearcher example but not with a remote server as the
    object.. Am I stupid and just missed something or what?
    thanks
    tr


    "Shay Levy [MVP]" wrote:

    > Hello tonyr,
    >
    > See this post:
    > http://blogs.msdn.com/powershell/arc...26/647038.aspx
    >
    >
    >
    > ---
    > Shay Levy
    > Windows PowerShell MVP
    > http://blogs.microsoft.co.il/blogs/ScriptFanatic
    >
    > t> look everywhere for this but can't find the answer!
    > t>
    > t> whats the syntax for wmisearch for remote devices, the wmi
    > t> accelerator is easy
    > t> [wmi]\\servername etc but the same syntax does not work for wmi.
    > t> thanks
    > t> tr
    >
    >
    >

      My System SpecsSystem Spec

  3. #3


    Shay Levy [MVP] Guest

    Re: wmisearcher


    $server="serverName"
    $handels = [WmiSearcher]'Select * from Win32_Process where Handlecount >
    1000'
    $handels.scope.path="\\$server\root\cimv2"
    $handels.get()


    ---
    Shay Levy
    Windows PowerShell MVP
    http://blogs.microsoft.co.il/blogs/ScriptFanatic



    t> yea thats were I got most of my examples but I don't think it shows
    t> me an example of what I'm trying to do!
    t>
    t> it shows the wmisearcher example but not with a remote server as the
    t> object.. Am I stupid and just missed something or what?
    t> thanks
    t> tr
    t> "Shay Levy [MVP]" wrote:
    t>

    >> Hello tonyr,
    >>
    >> See this post:
    >> http://blogs.msdn.com/powershell/arc...26/647038.aspx
    >> ---
    >> Shay Levy
    >> Windows PowerShell MVP
    >> http://blogs.microsoft.co.il/blogs/ScriptFanatic
    >> t> look everywhere for this but can't find the answer!
    >> t>
    >> t> whats the syntax for wmisearch for remote devices, the wmi
    >> t> accelerator is easy
    >> t> [wmi]\\servername etc but the same syntax does not work for wmi.
    >> t> thanks
    >> t> tr


      My System SpecsSystem Spec

Re: wmisearcher problems?

Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: wmisearcher tojo2000 PowerShell 0 29 Aug 2008