run cmd to check windows version code example Example: get Operating system command ver && uname #First command show version in Windows and second in Unix