Those "commands" don't really make any changes. They just bring up information reports from Windows. The system information panel (brought up by the msinfo command) and dxdiag panel are utilities in Windows which simply display certain information about the system: general information in the case of the first and more graphics-specific in the case of the latter, with some overlap between the information presented.