mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-12-16 03:30:39 +01:00
Update check-operating-system.ps1
This commit is contained in:
parent
52eb6034bc
commit
23dc4c2f82
@ -25,7 +25,7 @@ try {
|
||||
$BuildNo = $OSDetails.BuildNumber
|
||||
$Serial = $OSDetails.SerialNumber
|
||||
$InstallDate = $OSDetails.InstallDate
|
||||
"✅ $Name ($Arch, v$Version, serial $Serial), installed $($InstallDate.ToShortDateString())."
|
||||
"✅ $Name ($Arch, v$Version, S/N $Serial, installed $($InstallDate.ToShortDateString()))."
|
||||
}
|
||||
exit 0 # success
|
||||
} catch {
|
||||
|
Loading…
Reference in New Issue
Block a user