see which version of windows 10 code example
Example 1: what version of windows 10 do i have
ver #Just use this command in terminal for getting windows version
Example 2: command to display version of any program in windows
Get-WinEvent -ProviderName msiinstaller | where id -eq 1033 | select timecreated,message | FL *