• 0

Script to Extract Software Inventory


Question

Hi there,

I recently started working at this company about three weeks ago. Yesterday I suggested that we wrote a script to run manually to do some tasks, create a local user, move it to the local admin group and disable the administrator account. This part is done and works nice. However the second part is where I'm stuck at.

I need to extract the software inventory and print it into a xls file on the same directory where the script is. I can make adjustments later if needed, I just need to know the basics.

The script will run with local admin previleges, so there's no problem with that.

Can anyone give me a hint of how to do it?

It's supposed to be a vb script file (vbs).

Please me know just the basics so I can get it done :)

Thank's so much in advance.

3 answers to this question

Recommended Posts

  • 0

Use spice works, don't need to script and it runs on a pc or server, it is free and can give a full site inventory and monitor pc health/server health.

You can do it with wmi, that is what spiceworks uses.

but here you go if you really want to script it.

http://www.tek-tips.com/viewthread.cfm?qid=798632

  • Like 1
  • 0

You can use Fasttrack's automation studio, where you can do both. Is has a function that has all the inventory data it uses for its cloud inventory. So you can get away with one script line to write an inventory xml file to say a network share on each computer. Just save that one line as an exe and you have a GP startup task to do it. If you are looking for an actual software inventory, the same product has a cloud inventory that is pretty basic, but works well, because it is very easy to set up and it even includes the city where the computer is located at the moment. A nice touch is that it includes TeamViewer IDs, I liked that. You can find all the info you need at http://www.fasttrackscript.com, there should be a an inventory link on the front page. If you go into scripting mode in the product, you can write your one liner and save as an exe. Good luck :)

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • PlayStation's first wireless fight stick faces long wait, launching in 2026 by Paul Hill Sony has unveiled the FlexStrike wireless fight stick previously known as Project Defiant. Its unveiling marks the PlayStation’s first-ever proprietary fight stick controller. Unfortunately for anyone hoping to get their hands on it soon, Sony won’t be releasing it until 2026, creating a significant wait for eager fighting game fans. Though its release is still some time away, a display unit will be shown off at Evo 2025 (August 1-3). Sony notes that this displayed version of the FlexStrike may not represent the final product. As a bit of background, PlayStation gamers can already get third-party fight sticks, this marks Sony's first official entry into the market. The FlexStrike will be compatible with PS5 and PC via wired connection or wirelessly with PlayStation Link. It features mechanical switch buttons and toolless swappable restrictor gates (square, circle, octagon) with built-in storage. You can also use simultaneous PlayStation Link audio for connecting FlexStrike and a Pulse headset/earbuds on PS5 with a single USB adapter. Sony also mentions that there will be support for two FlexStrike sticks via a single PS Link USB adapter for local multiplayer and includes all DualSense Controller inputs (except directional pad via lever and mute button), plus a touchpad. The controls are adjustable with a built-in level mode switch and a lock button to prevent accidental inputs. So that it’s comfortable to use, Sony has opted for an ergonomic design with angled surfaces and a non-slip base. While we know from Sony that the FlexStrike wireless fight stick is confirmed for a 2026 release, we do not know which day or month to expect it on. Such a late entry into this market means that Sony will have already lost customers who have already invested in fight sticks from other manufacturers. For more information, keep your eyes peeled to Evo 2025 to see what Sony reveals. The company also recommends signing up for news updates on its official FlexStrike website.
    • LTSC has the same TPM requirement as other Windows 11 versions. Business SKUs, which obviously include LTSC, don't get Windows Recall. Recall can be removed for good quite easily if you really don't trust Microsoft. Not that it affects you anyway. Many reasons to switch to Linux, just not what you've called out!
    • ISTM the bigger the number gap in an update the greater number of users that are impacted or benefit from the update. I have never found a two decimal place software update to be beneficial to the majority of the software users.
    • He says something one day and the next day he changes it or claims he never said it.
  • Recent Achievements

    • Week One Done
      NeoWeen earned a badge
      Week One Done
    • One Month Later
      BA the Curmudgeon earned a badge
      One Month Later
    • First Post
      Doreen768 earned a badge
      First Post
    • One Month Later
      James_kobe earned a badge
      One Month Later
    • Week One Done
      James_kobe earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      653
    2. 2
      ATLien_0
      253
    3. 3
      Xenon
      168
    4. 4
      neufuse
      147
    5. 5
      +FloatingFatMan
      124
  • Tell a friend

    Love Neowin? Tell a friend!