top of page

Vcenter developer center-Code capture

  • Writer: khushnood khan
    khushnood khan
  • Dec 10, 2023
  • 1 min read

Code Capture records user actions and translates them into executable code.

Code Capture gives you the ability to record actions taken in the vSphere Client and output them as usable PowerCLI code. You can then copy the code or download it as a script and use it in a PowerShell session to execute the task.

1)      Open vsphere client web page on the browser and go to Developer Center.

 

ree

 

2)      Click on code capture.

ree

3)      Enable the code capture option.

ree

 

4)      We can select the language from the language drop down menu.

 

ree

 

5)      we can see the recording option enabled as shown below

ree

 

Top right in the web client

ree

 

6)      click on start recording option

ree

7)      we will be executing a snapshot operation and see the output here.

ree

 

The output can be copied or downloaded.

8)      We can clear and start the option again by clicking the option clear and start another.


 

ree

Comments


Post: Blog2 Post

Subscribe Form

Thanks for submitting!

©2021 by Techgaga.com. Proudly created with Wix.com

bottom of page