Customize Consent Preferences

We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.

The cookies that are categorized as "Necessary" are stored on your browser as they are essential for enabling the basic functionalities of the site. ... 

Always Active

Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.

No cookies to display.

Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.

No cookies to display.

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.

No cookies to display.

Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.

No cookies to display.

Advertisement cookies are used to provide visitors with customized advertisements based on the pages you visited previously and to analyze the effectiveness of the ad campaigns.

No cookies to display.

Clone VM in Workstation 15 Pro via REST API using Powershell

After posting yesterday about modifying the parent image to allow for hostname changes, I was still looking for something a little more streamlined. I remember reading about the new REST API that is available on workstation, so I wrote a little script to use the Workstation API to clone a VM.

Also just FYI – this performs a full clone, not a linked clone. I’m not sure that linked clone functionality is available via the API yet. I’m hoping to use the vmrun command to accomplish this, and while I know it is packaged with Workstation Pro, the only documentation I can find for it is associated with Fusion. I also have been thinking about using vagrant for this as well.

This is very basic functionality, and exists simply to showcase the functionality. There’s no error checking, and it could be expanded a lot. Regardless, enjoy!

Leave a Reply

Your email address will not be published. Required fields are marked *

Copyright VirtJunkie.com © 2024