New cmdlet #28134
Replies: 8 comments
|
Or rather, what APIs (such as WMI) does Windows offer for the user to obtain firmware information instead of direct syscalls? |
|
Ah, of course, the famous Get-ComputerInfo. But it doesn't show certain things and is a bit "legacy". What do you think of a command that shows if Secure Boot is enabled, the status of the ACPI tables (only a part of it, because it's quite dangerous for a regular user to know about this), the exact BIOS version, and whether it's UEFI or no, what do you think? A command dedicated to Firmwares.... |
|
What do you think of Get-FirmwareInfo or something similar? |
Who is it for? Who is the audience? Who is going to use it, when and why? The raison d'être of PowerShell was to manage servers, after twenty years most of these details have been worked out.
I would say it already exists, Confirm-SecureBootEUFI If you think there is value, write it, put it on PSGallery and see how many downloads it gets. However I would suggest don't waste your time. PowerShell has a backlog of tasks that are actually wanting time and effort if you want to contribute. Go to the issues page, go to the Labels filter and choose "Up for grabs". These are work items that have been requested and approved by the project for people to work on. |
|
Thanks for the feedback! |
If you have found a need that is fine, the only person you have to convince is yourself. All you need to do is write your cmdlet and publish it in PSGallery. I suggest you have a look at the other 22 firmwarepackages which are already there. |
Yeah unfortunately, this is one of those, it's almost not possible to do things. My guidance to you comes as part of the Cmdlets Working Group, & that is if you want to try tackle this, please do go ahead, but you would need to do so outside of this repository, as from support and maintainability this isn't something that the PowerShell Team has the bandwidth to add at this time, perhaps ever, to the core product. It would be a great thing to have, don't get me wrong, but this is an area where I strongly advise that you try building this in your own repository, publish the resulting cmdlet as a module on the PowerShell Gallery & provide us with an update as to how you got on by creating a discussion in this repository or bringing to the community by one of the User Groups or conferences & publishing about it on the likes of Bluesky, Reddit and in the PowerShell groups on LinkedIn, Microsoft Tech Community and other such places. Also the bar of acceptance into this repository is incredibly high, and from looking at your profile, I don't see any previous PowerShell related projects. Also your issue in raising this doesn't meet the quality needed for me to take this to the Cmdlets Working Group to discuss & this should have really been opened as a discussion, as opposed to an issue. Which is why I am converting this from an issue to a discussion. |

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I'm planning to create a new cmdlet. So I decided to open this Issue to discuss this new Cmdlet. I know you're not from the Windows Team, but if you can, please respond:
Does Windows have a Syscall that provides firmware information? I know there are several commands for this, but it would be nice to have a dedicated command for firmware information.
If they don't want to because they don't have plans for it or something like that, that's fine!
💻🚀 Proposed cmdlet
I was thinking of creating a new cmdlet that provides firmware information.
All reactions