that wont just remove windows, that will destroy all data on any connected devices including flash drives or other internal drives. it may take several hours. make sure you backup your data or remove any devices other than the windows drive.
Here is a article on that function:
https://www.dell.com/support/article/us/en/04/sln300245/using-the-dell-bios-data-wipe-function-for-optiplex-precision-and-latitude-systems-built-after-november-2015?lang=en