I don't have a great answer for this question. There are no APIs for the disk sanitization feature, hence no cmdlets. I would normally recommend Invoke-NaSsh, but that CLI command offers no switch to suppress confirmation warnings, so the SSH invocation doesn't return. You need some kind of scriptable SSH tool with an 'expect' feature that allows you to dismiss the confirmation.