Skip to content

Commit

Permalink
Update OSArchitecture for Linux OS
Browse files Browse the repository at this point in the history
  • Loading branch information
Steffen Winternheimer committed Dec 4, 2023
1 parent 0919280 commit d8fedce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ATAPHtmlReport/ATAPHtmlReport.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -996,7 +996,7 @@ function Get-ATAPHostInformation {
"Free physical memory" = "{0:N1} GB" -f (( -split (Get-Content /proc/meminfo | Where-Object { $_ -match 'MemFree:' }))[1] / 1MB)
"Free disk space" = "{0:N1} GB" -f ((Get-PSDrive | Where-Object { $_.Name -eq '/' }).Free / 1GB)
"System Uptime" = uptime -p
"OS Architecture" = dpkg --print-architecture
"OS Architecture" = lscpu | awk '/Architecture/ {print $2}'
"System Manufacturer" = (dmidecode -t system)[6] | cut -d ':' -f 2 | xargs
"System SKU" = (dmidecode -t system)[12] | cut -d ':' -f 2 | xargs
"System Serialnumber" = (dmidecode -t system)[9] | cut -d ':' -f 2 | xargs
Expand Down

0 comments on commit d8fedce

Please sign in to comment.