Update check-os.ps1 and check-powershell.ps1

This commit is contained in:
Markus Fleschutz
2022-12-02 08:41:01 +01:00
parent aa593c5edc
commit 365c53c13e
2 changed files with 5 additions and 4 deletions

View File

@ -25,7 +25,7 @@ try {
$BuildNo = $OSDetails.BuildNumber
$Serial = $OSDetails.SerialNumber
$InstallDate = $OSDetails.InstallDate
"$($Name) ($Arch, v$Version, S/N $Serial, installed $($InstallDate.ToShortDateString()))"
"$($Name) ($Arch, v$Version, S/N $Serial) installed on $($InstallDate.ToShortDateString())"
}
exit 0 # success
} catch {