this post was submitted on 17 Aug 2026
58 points (92.6% liked)

Technology

87450 readers
3577 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 3 years ago
MODERATORS
top 14 comments
sorted by: hot top controversial new old
[–] CompactFlax@discuss.tchncs.de 13 points 5 days ago

“Copilot, I get an error when I run this code”

“An easy fix for this would be to remove the WMIC component from Windows”

[–] JohnnyCanuck@lemmy.ca 8 points 5 days ago

A rare good move that sounds like a bad one (from what I'm seeing in the article)

[–] Pacers31Colts18@piefed.social 3 points 5 days ago

This was announced quite a while ago, and get-ciminstance does basically the same.

[–] NathanRanch@lemmy.zip 3 points 5 days ago

Real question is how does this affect MDT? Will it still pull that information, will vendors supply it?

[–] Dookieman12@piefed.social -2 points 5 days ago (7 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.

[–] Zulu@lemmy.world 11 points 5 days ago* (last edited 5 days ago) (1 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.

[–] XLE@piefed.social 3 points 5 days ago (1 children)

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

[–] uhmbah@lemmy.ca 2 points 5 days ago

Linking effing reddit. Are you not aware of today's internet? Waste of a post if you ask me.

[–] stoy@lemmy.zip 10 points 5 days ago* (last edited 5 days 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

[–] JigglySackles@lemmy.world 6 points 5 days ago

Used to use it pretty regularly. Especially for automating service tag retrieval. My main qualm with it was inconsistent use between manufacturers. Otherwise it was a nicely handy tool.

[–] ITGuyLevi@programming.dev 4 points 5 days 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.

[–] ramble81@lemmy.zip 3 points 5 days ago

I used it a handful of times for some different things, but given that powershell can interface with the WMI namespace, it basically became superfluous.

[–] anewfox@lemmy.zip 1 points 5 days ago

never even heard of wmic. looked it up and it's just been superseded by a new tool. this is barely even news, but neowin had to title the article like it's a big deal.

[–] frongt@lemmy.zip 0 points 5 days 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.