Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: Hardware/Software Inventory

by shonorio (Hermit)
on Oct 05, 2005 at 16:45 UTC ( [id://497671]=note: print w/replies, xml ) Need Help??


in reply to Re: Hardware/Software Inventory
in thread Hardware/Software Inventory

Jace,

To access remote computer just change the '.' in line 9 to computer name without slashs ('\'), like my $Machine = "wks", I've test with success on my enviroment. But remeber that WMI must be installed on remote machine. WMI is installed by default just for Win2K or later.

Solli Moreira Honorio
Sao Paulo - Brazil

Replies are listed 'Best First'.
Re^3: Hardware/Software Inventory
by grashoper (Monk) on May 09, 2008 at 21:39 UTC
    Hm this doesn't work for me, am I doing something wrong? I thought it would be great as one of my co-workers needs to inventory software company wide for license compliance I am getting a syntax error in line 48 near sub GetHardwareInfo" followed by a cannot use global @_ in "my" at c:\perl\bin\mytest.pl line 49 near =@" sytax error at c:\perl\bin\mytest.pl line 109 near } execution of c:\perl\bin\mytest.pl aborted due to compiliation errors.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://497671]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2024-04-16 16:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found