From 54b6bdd179900aa887e5ce1b97d26fe88dd1842b Mon Sep 17 00:00:00 2001 From: Josh Willox <39120423+jcwillox@users.noreply.github.com> Date: Wed, 23 Dec 2020 19:58:16 +1100 Subject: [PATCH] Add motherboard info --- src/posh-winfetch.ps1 | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/posh-winfetch.ps1 b/src/posh-winfetch.ps1 index 2b7be33..09dcd6e 100644 --- a/src/posh-winfetch.ps1 +++ b/src/posh-winfetch.ps1 @@ -245,6 +245,16 @@ function info_os { } +# ===== MOTHERBOARD ===== +function info_motherboard { + $motherboard = Get-CimInstance Win32_BaseBoard -CimSession $cimSession -Property Manufacturer,Product + return @{ + title = "Motherboard" + content = "{0} {1}" -f $motherboard.Manufacturer, $motherboard.Product + } +} + + # ===== TITLE ===== function info_title { return @{