invoke-command won't work here, would it?
Or are there any cmdlets you know of to delete / format the partition, similar to what partedutil is doing?
I hate the human error aspect having to do this at the canonical name level via SSH... If I can automate it, that'd be much better!