Afaik there is no public method for that, and there definitely is no cmdlet for it.
Upgrading the virtual HW of VM is quite easy with the UpgradeVM_Task method.
And creating a scheduled task in vCenter that calls this method isn't too difficult either.
But scheduling the upgrade during the next restart of the VM is not so obvious I'm afraid.