From 08524c5714665f64a801be02b1925a9f211745de Mon Sep 17 00:00:00 2001 From: Thomas de Roo Date: Thu, 22 Jan 2026 11:17:01 +0100 Subject: [PATCH] Update wmi2dokuwiki.ps1 --- wmi2dokuwiki.ps1 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/wmi2dokuwiki.ps1 b/wmi2dokuwiki.ps1 index 36e44b4..4016903 100644 --- a/wmi2dokuwiki.ps1 +++ b/wmi2dokuwiki.ps1 @@ -19,8 +19,6 @@ $serialNumber = (Get-CimInstance -ClassName Win32_BIOS).SerialNumber $bios = Get-CimInstance -ClassName Win32_BIOS $biosVersion = ($bios.SMBIOSBIOSVersion) $biosDate = $bios.ReleaseDate -# Format BIOS datum naar YYYY-MM-DD -$biosDateFormatted = [Management.ManagementDateTimeConverter]::ToDateTime($biosDate).ToString("yyyy-MM-dd") # ====================== # CPU @@ -53,7 +51,7 @@ Write-Output "| Fabrikant | $manufacturer |" Write-Output "| Productnaam | $productName |" Write-Output "| Serienummer | $serialNumber |" Write-Output "| BIOS-versie | $biosVersion |" -Write-Output "| BIOS-datum | $biosDateFormatted |" +Write-Output "| BIOS-datum | $biosDate |" Write-Output "| CPU-model | $cpuModel |" Write-Output "| CPU-sockets | $cpuSockets |" Write-Output "| Totaal geheugen | ${memoryTotalGB} GB |"