Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. RabidAlien

    Need VBscript to write PC inventory to text file at logon

    Okay, got it finished. Had to iron out a few wrinkles, and there's probably easier ways to do it, but here's the final code if anyone needs. Modify to suit your particular situation! Again, many MANY thanks to Geates! 'Scrabbled together by Kirk Lowry '22 May 2011 'modify as required to fit...
  2. RabidAlien

    Need VBscript to write PC inventory to text file at logon

    When I divide by 1024^3, referencing the TotalVisibleMemorySize from Win32_OperatingSystem, I think it reads in Kb to begin with. On my 2Gb system, using 1024^3 returns "0Gb", whereas 1024^2 returns 2Gb. Testing on the 512Mb system, using 1024^1 returns 512Mb. I thought it was strange, too...
  3. RabidAlien

    Need VBscript to write PC inventory to text file at logon

    Okay, Geates, you officially rock, in case nobody's told you lately! Did some mad-scientist shifting/tweaking/modding, and Frankenstein's monster officially lives! The script now shows the appropriate Gb or Mb, depending on how much actual memory is in the machine. 'Physical Memory Set...
  4. RabidAlien

    Need VBscript to write PC inventory to text file at logon

    Gotcha, thanks for the update. I was scratching my head on the "/" vs "\"!!! Here's what I've got for the Physical Memory portion now, and have tested it on a 2Gb system and a 512Mb system...the 512Mb returns an answer of .498Gb (or something to that effect, after factoring in onboard video...
  5. RabidAlien

    Need VBscript to write PC inventory to text file at logon

    Having one small problem with the memory section...one of the locations we IT for has about 150 PC's, ranging anywhere from WindowsNT, 95, 98, XP (thankfully they skipped ME) and Windows 7. A good portion of the older machines have less than a Gig of RAM. For some reason, when I run this on a...
  6. RabidAlien

    Need VBscript to write PC inventory to text file at logon

    Sorry its been so long, as I said I'm working on this between "oh crap" projects/fixes. Finally got the script working, used yours as a template, and to answer some questions I had on my own. Thanks for the help! 'HAMMERED TOGETHER BY KIRK LOWRY, 3/1/2011 'FEEL FREE TO USE/ADJUST TO YOUR...
  7. RabidAlien

    Need VBscript to write PC inventory to text file at logon

    Kewl, thanks, I'll give it a shot. Pillage, then burn. Argue not with dragons, for thou art crunchy and taste good with BBQ sauce.
  8. RabidAlien

    Need VBscript to write PC inventory to text file at logon

    Hey, first wanted to say that I've browsed the livin' daylights out of these forums, and have learned a TON from them! That being said, I'm about the noob-iest (yep, just made that up) scripter you've ever met, and my boss wants me to learn. His idea of "teaching" is to assign tasks, such as...

Part and Inventory Search

Back
Top