Updated the manuals

This commit is contained in:
Markus Fleschutz
2025-05-12 22:04:02 +02:00
parent b3cdf19f4a
commit 09eb3d1808
651 changed files with 8362 additions and 1405 deletions

View File

@ -28,7 +28,7 @@ Script Content
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz | License: CC0
Author: Markus Fleschutz, Tyler MacInnis | License: CC0
#>
function Bytes2String { param([int64]$Bytes)
@ -48,15 +48,17 @@ try {
# TODO
} else {
$Details = Get-WmiObject Win32_VideoController
$Model = $Details.Caption
$RAMSize = $Details.AdapterRAM
$ResWidth = $Details.CurrentHorizontalResolution
$ResHeight = $Details.CurrentVerticalResolution
$BitsPerPixel = $Details.CurrentBitsPerPixel
$RefreshRate = $Details.CurrentRefreshRate
$DriverVersion = $Details.DriverVersion
$Status = $Details.Status
Write-Host "✅ $Model GPU ($(Bytes2String $RAMSize) RAM, $($ResWidth)x$($ResHeight) pixels, $($BitsPerPixel)-bit, $($RefreshRate)Hz, driver $DriverVersion) - status $Status"
foreach ($GPU in $Details) {
$Model = $GPU.Caption
$RAMSize = $GPU.AdapterRAM
$ResWidth = $GPU.CurrentHorizontalResolution
$ResHeight = $GPU.CurrentVerticalResolution
$BitsPerPixel = $GPU.CurrentBitsPerPixel
$RefreshRate = $GPU.CurrentRefreshRate
$DriverVersion = $GPU.DriverVersion
$Status = $GPU.Status
Write-Host "✅ $Model GPU ($(Bytes2String $RAMSize) RAM, $($ResWidth)x$($ResHeight) pixels, $($BitsPerPixel)-bit, $($RefreshRate)Hz, driver $DriverVersion) - status $Status"
}
}
exit 0 # success
} catch {
@ -65,4 +67,4 @@ try {
}
```
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)*