Running on Debian in lxc container on proxmox.
Powershell 7.3.3
Haven't looked into the src code yet.
PS /root> get-computerinfo
InvalidArgument: /root/.local/share/powershell/Modules/linuxinfo/0.0.1/public/Get-ComputerInfo.ps1:96
Line |
96 | CPUArchitecture = uname -p
| ~~~~~~~~
| Cannot convert value "Hz" to type "System.Int32". Error: "The input string 'Hz' was not in a correct
| format."
Instead of returning a PSCustomObject, write a asci/retro console type output as default output, and allows a switch parameter to only get a PSCustomObject (so default is kind of like a cli speccy but it supports scripting/ci scenarios)
currently the text manipulation will break too easily
Also glxinfo should be replaced with a get-content approach since glxinfo is not guaranteed to be installed on all different distros