I'm trying to figure out the best method to obtain the Hardware ID for Autopilot, but it looks like PowerShell is no longer available in versions 24h2.12 and 25h2. I used to call it from the command prompt, but now it seems to be missing. I'm looking for alternatives to retrieve this information. Has anyone else faced this issue?
4 Answers
You could try pressing Shift + FN + F10 and then type Powershell.exe to see if that works for you.
Have they removed wmic as well? I’ve heard they were planning to. If it’s still there, you might try running 'wmic get bios serialnumber'. I’ve used that command on Lenovo devices successfully before—might be worth a shot!
Have you checked if it might be a keyboard function issue? Sometimes, laptop keyboards require a special function key to access certain commands.
Yeah, I'm sure it's not a keyboard issue. I can access the command prompt, but when I try to switch to Powershell, it says 'command not found.'
If all else fails, you might consider reinstalling Windows. PowerShell should still be functioning unless there’s something specific about your device that's causing the issue.

That didn't work either; it just says 'cmd not found.'