I found this thread which is old: PowerCLI script to import a physical server to a VM and this which is also old: Automating Converter Standalone using Converter-cli.exe and this from LucD which is also 5 years old. Automating Converter Enterprise jobs with PS - LucD notes So has anything changed at all in the last few years? Is there a way to do P2V with PowerCLI/PowerShell or is that all C#, Java stuff?
Afaik, nothing has changed.
Provided the converter-tool.exe command still exists, you could use the method from my post.
You could also have a look at the vCenter Converter SDK Forum, perhaps there they have some coding/scripting available.