Skip to content

Commit c7641f0

Browse files
committed
Removing or updating cross references
1 parent 3d7b45f commit c7641f0

10 files changed

+43
-14
lines changed

articles/devtest-labs/devtest-lab-add-devtest-user.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ The DevTest Labs User role can take the following actions in DevTest Labs:
5858
5959
## Add Owners, Contributors, or DevTest Labs Users
6060

61-
A lab owner can add members to lab roles by using the Azure portal or an Azure PowerShell script. The user to add can be an external user with a valid [Microsoft account (MSA)](./devtest-lab-faq.yml).
61+
A lab owner can add members to lab roles by using the Azure portal or an Azure PowerShell script. The user to add can be an external user with a valid [Microsoft account (MSA)](/windows-server/identity/ad-ds/manage/understand-microsoft-accounts).
6262

6363
Azure permissions propagate from parent scope to child scope. Owners of an Azure subscription that contains labs are automatically owners of the subscription's DevTest Labs service, labs, and lab VMs and resources. Subscription owners can add Owners, Contributors, and DevTest Labs Users to labs in the subscription.
6464

articles/devtest-labs/devtest-lab-comparing-vm-base-image-types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.date: 08/26/2021
1111
Both [custom images](devtest-lab-create-template.md) and [formulas](devtest-lab-manage-formulas.md) can be used as bases for [creating new lab virtual machines (VMs)](devtest-lab-add-vm.md). The key distinction between custom images and formulas is that a custom image is simply an image based on a virtual hard drive (VHD). A formula is
1212
an image based on a VHD plus preconfigured settings. Preconfigured settings can include VM size, virtual network, subnet, and artifacts. These preconfigured settings are set up with default values that you can override at the time of VM creation.
1313

14-
In this article, you'll learn the pros and cons of using custom images versus using formulas. You can also read [How to create a custom image from a VM](devtest-lab-create-custom-image-from-vm-using-portal.md) and the [DevTest Labs FAQ](devtest-lab-faq.yml).
14+
In this article, you'll learn the pros and cons of using custom images versus using formulas. You can also read [How to create a custom image from a VM](devtest-lab-create-custom-image-from-vm-using-portal.md) and [Compare custom images and formulas in DevTest Labs](devtest-lab-comparing-vm-base-image-types.md).
1515

1616
## Custom image benefits
1717
Custom images provide a static, immutable way to create VMs from the environment you want.

articles/devtest-labs/devtest-lab-delete-lab-vm.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,40 @@ To delete a VM from a lab:
4343

4444
1. To check deletion status, select the **Notifications** icon on the Azure menu bar.
4545

46+
47+
## Automate the process of deleting all the VMs in a lab
48+
49+
As a lab owner, you can delete VMs from your lab in the Azure portal. You also can delete all the VMs in your lab by using a PowerShell script. In the following example, under the **values to change** comment, modify the parameter values. You can retrieve the `subscriptionId`, `labResourceGroup`, and `labName` values from the lab pane in the Azure portal.
50+
51+
```powershell
52+
# Delete all the VMs in a lab.
53+
54+
# Values to change:
55+
$subscriptionId = "<Enter Azure subscription ID here>"
56+
$labResourceGroup = "<Enter lab's resource group here>"
57+
$labName = "<Enter lab name here>"
58+
59+
# Sign in to your Azure account.
60+
Connect-AzAccount
61+
62+
# Select the Azure subscription that has the lab. This step is optional
63+
# if you have only one subscription.
64+
Select-AzSubscription -SubscriptionId $subscriptionId
65+
66+
# Get the lab that has the VMs that you want to delete.
67+
$lab = Get-AzResource -ResourceId ('subscriptions/' + $subscriptionId + '/resourceGroups/' + $labResourceGroup + '/providers/Microsoft.DevTestLab/labs/' + $labName)
68+
69+
# Get the VMs from that lab.
70+
$labVMs = Get-AzResource | Where-Object {
71+
$_.ResourceType -eq 'microsoft.devtestlab/labs/virtualmachines' -and
72+
$_.Name -like "$($lab.Name)/*"}
73+
74+
# Delete the VMs.
75+
foreach($labVM in $labVMs)
76+
{
77+
Remove-AzResource -ResourceId $labVM.ResourceId -Force
78+
}
79+
```
4680
## Delete a lab
4781

4882
When you delete a lab from a resource group, DevTest Labs automatically deletes:

articles/devtest-labs/devtest-lab-guidance-get-started.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ The following diagram shows how lab owners can configure policies and provide re
3535

3636
To create a lab in the Azure portal, see [Create a lab in Azure DevTest Labs](devtest-lab-create-lab.md).
3737

38-
You can also automate lab creation, including custom settings, with a reusable *Azure Resource Manager (ARM) template*. For more information, see [Create a lab by using a Resource Manager template](./devtest-lab-faq.yml#how-do-i-create-a-lab-from-a-resource-manager-template-).
38+
You can also automate lab creation, including custom settings, with a reusable *Azure Resource Manager (ARM) template*. For more information, refer to [Azure Resource Manager (ARM) templates in Azure DevTest Labs](devtest-lab-use-arm-and-powershell-for-lab-resources.md)
3939

4040
### Add a virtual network to a lab
4141

@@ -117,7 +117,7 @@ Lab owners can allow users more control by giving them Contributor rights to the
117117
DevTest Labs is well-suited for transient activities like workshops, hands-on labs, training, or hackathons. In these scenarios:
118118

119119
- Training leaders or lab owners can use custom templates to create identical, isolated VMs or environments.
120-
- Trainees can [access the lab by using a URL](./devtest-lab-faq.yml#how-do-i-share-a-direct-link-to-my-lab-).
120+
- Trainees can [access the lab by using a URL](tutorial-create-custom-lab.md#share-a-link-to-the-lab).
121121
- Trainees can claim already-created, preconfigured machines with a single action.
122122
- Lab owners can control lab costs and lifespan by:
123123
- Configuring policies.
@@ -130,7 +130,7 @@ Lab owners can manage costs by deleting labs and VMs when they're no longer need
130130

131131
- Set [expiration dates](devtest-lab-use-resource-manager-template.md#set-vm-expiration-date) on VMs.
132132
- [Delete labs](devtest-lab-delete-lab-vm.md#delete-a-lab) and all related resources.
133-
- [Delete all lab VMs by running a single PowerShell script](./devtest-lab-faq.yml#how-do-i-automate-the-process-of-deleting-all-the-vms-in-my-lab-).
133+
- [Delete all lab VMs by running a single PowerShell script](devtest-lab-delete-lab-vm.md#automate-the-process-of-deleting-all-the-vms-in-a-lab).
134134

135135
## Proof of concept and scaled deployments
136136

@@ -151,6 +151,6 @@ For a successful proof of concept:
151151
## Next steps
152152

153153
- [DevTest Labs concepts](devtest-lab-concepts.md)
154-
- [DevTest Labs FAQ](devtest-lab-faq.yml)
154+
155155

156156
[!INCLUDE [devtest-lab-try-it-out](../../includes/devtest-lab-try-it-out.md)]

articles/devtest-labs/devtest-lab-manage-formulas.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ To delete a formula, follow these steps:
120120
[!INCLUDE [devtest-lab-try-it-out](../../includes/devtest-lab-try-it-out.md)]
121121

122122
## Related blog posts
123-
* [Custom images or formulas?](./devtest-lab-faq.yml)
123+
* [Custom images or formulas?](./devtest-lab-comparing-vm-base-image-types.md)
124124

125125
## Next steps
126126
Once you have created a formula for use when creating a VM, the next step is to [add a VM to your lab](devtest-lab-add-vm.md).

articles/devtest-labs/devtest-lab-overview.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,5 @@ Lab owners can take several measures to reduce waste and control lab costs.
4545

4646
- [DevTest Labs concepts](devtest-lab-concepts.md)
4747
- [Quickstart: Create a lab in Azure DevTest Labs](devtest-lab-create-lab.md)
48-
- [DevTest Labs FAQ](devtest-lab-faq.yml)
4948

5049
[!INCLUDE [devtest-lab-try-it-out](../../includes/devtest-lab-try-it-out.md)]

articles/devtest-labs/extend-devtest-labs-azure-functions.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,5 @@ The last step in this walkthrough is to test the Azure function.
102102
Azure Functions can help extend the functionality of DevTest Labs beyond what’s already built-in and help customers meet their unique requirements for their teams. This pattern can be extended & expanded further to cover even more. To learn more about DevTest Labs, see the following articles:
103103

104104
- [DevTest Labs Enterprise Reference Architecture](devtest-lab-reference-architecture.md)
105-
- [Frequently Asked Questions](devtest-lab-faq.yml)
106105
- [Scaling up DevTest Labs](devtest-lab-guidance-scale.md)
107106
- [Automating DevTest Labs with PowerShell](https://github.com/Azure/azure-devtestlab/tree/master/samples/DevTestLabs/Modules/Library/Tests)

articles/devtest-labs/import-virtual-machines-from-another-lab.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,3 @@ POST https://management.azure.com/subscriptions/<DestinationSubscriptionID>/reso
6767
## Next steps
6868

6969
- [Set policies for a lab](devtest-lab-set-lab-policy.md)
70-
- [DevTest Labs frequently asked questions](devtest-lab-faq.yml)

articles/devtest-labs/personal-data-delete-export.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,6 @@ The data columns contained in **disks.csv** are listed below:
201201
The exported data can be manipulated and visualized using tools, like SQL Server, Power BI, etc. This feature is especially useful when you want to report usage of your lab to your management team that may not be using the same Azure subscription as you do.
202202
203203
## Next steps
204-
See the following articles:
204+
See the following article:
205205
206206
- [Set policies for a lab](devtest-lab-set-lab-policy.md)
207-
- [Frequently asked questions](devtest-lab-faq.yml)

articles/devtest-labs/resource-group-control.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ How to use this API:
106106

107107

108108
## Next steps
109-
See the following articles:
109+
See the following article:
110110

111111
- [Set policies for a lab](devtest-lab-set-lab-policy.md)
112-
- [Frequently asked questions](devtest-lab-faq.yml)

0 commit comments

Comments
 (0)