Retrieve system installation date from system.ini (PowerShell)
(Get-Item "C:\Windows\system.ini").CreationTime
Fetches the creation date of the C:\Windows\system.ini file, which can be used as an indicator of the system installation date. Alternatively, you can use C:\Windows\inf\setupapi.dev.log or C:\Program Files\WindowsApps\ instead of C:\Windows\system.ini.