code aside, I would think this process would work:
add a line to your startup.bat files that says run this inventory.pl script found at \\server\where\script\lives
Then when the client computer runs the script it has said "Here!" and at that point have inventory.pl get the required info (either through a subroutine or have inventory.pl invoke YAS (yet another script.))
The disadvantages to this are (As Dave Roth has pointed out in WIN32 Perl Scripting :: Sys Admins) that at 8AM when your users login there will be some strain on your server as they all start hitting that script all at once.
Pie, like lunch is (sadly) never free
The flip side to this would be to have startup.bat INSTALL the inventory script and then your startup.bat file could if/then the next time it was run the inventory process.
--
lmoran@wtsgSPAM.com
print "\x{263a}"
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.