you are viewing a single comment's thread
view the rest of the comments
[–] -3 points 3 months ago (9 children)

Yeah, and I bet not a single admin has ever used this feature. It's obscure, barely works, arguably causes more problems than it solves, and there are many other tools that fulfill the same use case, better.

This is one of those things I learned about because it wss in a textbook then never used again. The two or three times I asked about using as part of a solution at work, I got either a confused look or a "good joke" reaction.

That was close to ten years ago. This is the first I'm hearing about them since then.

  • source
  • hideshow 9 child comments
  • [–] 11 points 3 months ago* (2 children)

    Quick and easy way to get serialnumber. Im sure there's other ways too, but i habent had to find them out because wmic bios get serialnumber.

    Literally used it a few weeks ago. Probably once every few months when i get a computer that is only reporting hostname.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 3 points 3 months ago (1 child)

    There's alternative commands available , but it's odd that Microsoft would remove a well-known one just in general. It's one thing for people to change their habits, but what about legacy scripts?

    After all, this is the same Microsoft that prevents you from naming a file "con" because it could break old scripts

  • source
  • parent
  • hideshow 1 child comment
  • [–] 10 points 3 months ago* (last edited 3 months ago)

    I have used it in scripts to build inventories of my employer's computer system

    It grabbed to following info:

    • Manufacturer
    • Model
    • Serial Number
    • RAM amount
    • Storage size
    • Used space of storage
    • OS version
    • BIOS version

    I piped that data into an HTML report that we used as a dashboard

  • source
  • parent
  • [–] 4 points 3 months ago

    WMIC allows an amazing amount of control for admins that know what they are doing. One of my favorite uses was back when I worked helpdesk, users would exit Lync and be unreachable, well WMIC can allow an admin to open that app back up in the users session and then they are suddenly reachable again.

    Some people use the old psexec, others have been using WMIC since before powershell even existed.

  • source
  • parent
  • [–] 0 points 3 months ago

    I used to use it very frequently. "wmic bios" was a quick way to get the serial number of a pc, or "wmic os get lastbootuptime" for that data ("no, you didn't reboot your PC when I asked you to").

    I'm kind of surprised they didn't just make it an alias and interface to powershell get-ciminstance.

  • source
  • parent