in reply to Re: RE: Getting a Local/Remote Win32 Task List
in thread Getting a Local/Remote Win32 Task List

i'm getting the same error. find anything out?
  • Comment on Re: Re: RE: Getting a Local/Remote Win32 Task List

Replies are listed 'Best First'.
Re: Re: Re: RE: Getting a Local/Remote Win32 Task List
by Anonymous Monk on Jan 28, 2003 at 16:27 UTC
    You have to 'use' Win32::PerfLib.. put use Win32::PerfLib; at the top of your script : )
      Hello,

      We got the same error once we validated against the server
      it's gone.We tested this with just creating a drive
      mapping to the sever we wanted to monitor windwos then
      uses the credentials it has.

      I also used
      AuthenticateUser($Domain, $DomainUser, $DomainPassWD);
      but with no result

      Grtz

      Hi, I get the same error and I am 'using' Win32::PerfLib. Any ideas? Thanks, Mawster
        use warnings instead of -w and it works :)
RE: Getting a Local/Remote Win32 Task List
by Anonymous Monk on Apr 08, 2003 at 07:31 UTC
    I had this error when trying to connect using a Windows account that didn't have rights on the remote server. However, running the script with a userid that can access the remote server gives you the full list.
      Does a remote machine need to have IIS installed on it for PerfLib to work? Its just that when I try it on a network, I only manage to get process lists from machines with IIS installed....
        No, it does not need to have IIS, FORTUNATELY.