Hi Mark,
As of my knowledge P2V is only possible with the powered on state only as we need to authenticate that machine if we do it remotely. If from local machine then its possible from powered on machine only. Also the Hard disks need to be accessed to clone it
If it is V2V means we connecting from the ESXi machine hence VM can be powered off state.