In the past i was using the major/minor number received from the ver tool in case i need to execute OS specific commands. With the release of Windows 11 it looks like this wouldn't work anymore (at least for now).
At the moment i don't check for the micro number so the script will handle windows 11 as windows 10 but i assume it could cause problems in future.
Here is a table that shows some versions

Can somebody explain how the versioning related to Windows 10 and Windows 11 will continue? (will Windows 10 stay in the range between 19043 and 22000 ?)