Detectar si usa Windows 10 o 11 usando script por lotes
systeminfo | findstr /i /c:"windows 11" > nul && {code here for windows 11} || {code here for not windows 11}
systeminfo | findstr /i /c:"windows 11" > nul && {code here for windows 11} || {code here for not windows 11}