That will indeed work and wipe your Surface completely and return it to original out of box factory settings.
Does anyone know how to reset Surface Pro 9 to factory setting? I need to wipe out my If so, can I go through the following steps: Settings-->systems--> recovery-->reset this pc --> remove everything?