The problem may that you're beginning with trying to convert a disk to GPT ... except that chances are it's never been formatted (you may want to confirm by checking it yourself).
Something like this - New-Partition - may help you (and you could run a PS-script to handle an "If ... ELSE..." type situation , depending on whether you're dealing with unformatted disks or not?