Skip to content

iPowerShellSmbios contains a collection of PowerShell Cmdlets that allow us to obtain the SMBIOS information. Currently only works on windows

License

Notifications You must be signed in to change notification settings

iAJTin/iPowerShellSmbios

Repository files navigation


What is iPowerShellSmbios?

iPowerShellSmbios contains a collection of PowerShell Cmdlets that allow us to obtain the SMBIOS information.

Currently works fully on Windows, It has partial support on MacOS and Linux support is still pending development.

To check the currently supported cmdlets, please see the following link

Install via PowerShellGallery

  • From PowerShellGallery

    PowerShellGallery Version
  • From package manager console

    User Command
    Administrator user Install-Module -Name iPowerShellSmbios -Force
    Current user Install-Module -Name iPowerShellSmbios -scope CurrentUser -Force

Install Locally

Windows

Step Description
1 Create the iPowerShellSmbios folder in %programfiles%\WindowsPowerShell\Modules
2 Copy the contents of the output folder Release or Debug into the folder created in the previous step. %programfiles%\WindowsPowerShell\Modules\iPowerShellSmbios.
3 Run Windows PowerShell
4 For import iPowerShellSmbios module, please enter the following command: PS> Import-Module iPowerShellSmbios
5 Now try to get the information of available commands, please enter the following command: PS> Get-Help Smbios
6 Now to check that everything is correct, let's check the SMBIOS version, please enter the following command: PS> Get-SmbiosVersion or if you prefer, use its alias SMBIOS-Version
7 In both cases, in both cases we must obtain a response value, if this is so, perfect is already installed!!
8 Enjoy ;)

System support for current CmdLets

Below is a table containing the commands supported by the various systems

Cmdlet Windows MacOS Linux
Get-SmbiosVersion OK OK ---
Get-SmbiosAvailableStructures OK OK ---
Get-SmbiosImplementedProperties OK --- ---
Get-SmbiosLocateProperty OK --- ---
Get-SmbiosProperty OK --- ---
Get-SmbiosPropertyDetail OK --- ---

Where:

(---): Work in progress.

Usage

Examples

Cmdlet Alias Description Example(s)
Get-SmbiosVersion SMBIOS-Version Returns a value that contains the SMBIOS version of the system Get-SmbiosVersion
Get-SmbiosAvailableStructures SMBIOS-Available-Structures Returns a collection of elements where each element represents an available SMBIOS structure GetSmbiosAvailableStructures
Get-SmbiosImplementedProperties SMBIOS-Implemented-Properties Returns a collection of elements where each element represents an implemented property for given structure class GetSmbiosImplementedProperties
Get-SmbiosLocateProperty SMBIOS-Locate-Property Returns a value that contains the location or locations of the SMBIOS property by its name GetSmbiosLocateProperty
Get-SmbiosProperty SMBIOS-Property Returns a reference that contains the information associated with the given property such as the key that identifies the property and its value GetSmbiosProperty
Get-SmbiosPropertyDetail SMBIOS-Property-Detail Returns a reference that contains the complete data of the given property, includes its name, value, unit in which the property is expressed, description and structure class to which it belongs GetSmbiosPropertyDetail

Documentation

  • For full code documentation, please see next link documentation.

How can I send feedback!!!

If you have found iPowerShellSmbios useful at work or in a personal project, I would love to hear about it. If you have decided not to use iPowerShellSmbios, please send me and email stating why this is so. I will use this feedback to improve iPowerShellSmbios in future releases.

My email address is

email.png

About

iPowerShellSmbios contains a collection of PowerShell Cmdlets that allow us to obtain the SMBIOS information. Currently only works on windows

Resources

License

Stars

Watchers

Forks

Packages

No packages published