This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can trysigning in orchanging directories.
Access to this page requires authorization. You can trychanging directories.
This article describes how to addartifacts to Azure DevTest Labs virtual machines (VMs) by using the Azure portal or Azure PowerShell. Artifacts are tools, actions, or software you can add to lab VMs. For example, artifacts can run Windows PowerShell scripts or Bash commands, install tools or applications, or take other actions like joining a domain.
DevTest Labs artifacts can come from thepublic DevTest Labs Git repository or from private Git repositories. Lab users cancreate their own custom artifacts and store them in a repository, and use parameters to customize existing artifacts for their own needs.
A lab administrator canadd artifact repositories to a lab so all lab users can access them. Lab administrators can alsospecify mandatory artifacts to be installed on all lab VMs at creation. Lab users can't change or remove mandatory artifacts at VM creation time, but they can add and configure other available artifacts at or after VM creation time.
You can use the Azure portal to add artifacts during VM creation or to add artifacts to an existing lab VM.
On the lab's home page, selectAdd.
On theChoose a base page, select the type of VM you want.
On theCreate lab resource screen, fill out theBasic Settings tab according to the instructions atCreate lab VMs in Azure DevTest Labs.
At the bottom of theBasic Settings tab, selectAdd or Remove Artifacts.
On theAdd artifacts page, select the arrow next to each artifact you want to add to the VM.
On eachAdd artifact pane, enter any required and optional parameter values, and then selectOK. The artifact appears underSelected artifacts on theAdd artifacts page, and the number of configured artifacts updates.

By default, artifacts install in the order you add them. To rearrange the order, select the ellipsis... next to the artifact in theSelected artifacts list, and selectMove up,Move down,Move to top, orMove to bottom.
To edit an artifact's parameters after you add it, select the pencil icon or select... next to the artifact and selectEdit to reopen the artifact pane.
To delete an artifact from theSelected artifacts list, select... and then selectDelete.
When you're done adding, arranging, and configuring artifacts, selectOK on theAdd artifacts page.
TheArtifacts section of theCreate lab resource screen shows the number of artifacts added. To add, edit, rearrange, or delete the artifacts before you create the VM, selectAdd or Remove Artifacts again.
Optionally configure anyAdvanced Settings orTags, and then selectCreate andCreate again at the bottom of the screen to create the VM with added artifacts.
After you create the VM, the installed artifacts appear on the VM'sArtifacts page. To see details about each artifact's installation, select the artifact name.
From the lab's home page, select the VM from theMy virtual machines list.
On the VM page, selectArtifacts in the top menu bar or underOperations in the left navigation.
On theArtifacts page, selectApply artifacts.

On theAdd artifacts page, select and configure artifacts the same way as for a new VM.
When you're done adding artifacts, selectInstall. The artifacts install on the VM immediately.
Was this page helpful?
Need help with this topic?
Want to try using Ask Learn to clarify or guide you through this topic?
Was this page helpful?
Want to try using Ask Learn to clarify or guide you through this topic?