With the Set-Template it is possible to convert a Template into VM by including parameter -ToVM.
You should expect something simmular in Set-VM by having a parameter like -ToTemplate, but that is not true. So far, it looks like it is only possible to create a template based on a VM, using New-Template
I have been digging on every (relevant) cmdlet, but it looks like it is not supported.
Any suggestions on how to do this?
Frank