Since it has been challenging for some people in the forum to get a VM by name and apply some changes to it here is an example I have created.
Disclaimers: This was done in 5 min so test first ! This is unsupported code.