Zend certified PHP/Magento developer

Do both Windows 8.1 and Windows 10 chkdsk commands work?

like for instance on windows 8.1

chkdsk C: /f /r /x

compared to windows 10’s

chkdsk C: /f /x /r 

Both commands work right no matter the windows version?

It will not damage the SSD or any of that stuff?
Because I accidentally changed the letters while on command prompt running as administrator.