"Edit" VMCX file using Powershell and WMI APIs


  • I have a customer who's new to this.  We know by now VMCX files can't be edited directly.  Could someone share examples on how to use PS and WMI APIs to achieve the same effect?  Thanks!
    Friday, March 31, 2017 12:44 AM


  • Hi Sir,

    The .vmcx file name extension indicates a binary file. Editing .vmcx or .vmrs files isn't supported. 

    I only found the reading method :

    As for the write , you may try to use VM configuration commands (such as , set-vmxxxxx ,add-vmxxxx) to achieve that :


    Hope it is helpful to you .

    Best Regards,


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact

    Friday, March 31, 2017 7:20 AM