diff --git a/experiments/Compute.Experiments/AzureRM.Compute.Experiments.test.ps1 b/experiments/Compute.Experiments/AzureRM.Compute.Experiments.test.ps1 index 74ed7015aae4..8763d3de5c11 100644 --- a/experiments/Compute.Experiments/AzureRM.Compute.Experiments.test.ps1 +++ b/experiments/Compute.Experiments/AzureRM.Compute.Experiments.test.ps1 @@ -1,9 +1,9 @@ $clientSecret = ConvertTo-SecureString ([Guid]::NewGuid().ToString().Substring(1,10)) -AsPlainText -Force $pscredentials = New-Object System.Management.Automation.PSCredential("vmadmin", $clientSecret) -New-AzVm -Name MyVM -Credential $pscredentials -WhatIf +New-AzVm -Name myVm1234 -Credential $pscredentials -WhatIf $vm = New-AzVm -Name myVm1234 -Credential $pscredentials $vm #Cleanup -Remove-AzureRmResourceGroup -ResourceId $vm.ResourceGroupId \ No newline at end of file +Remove-AzureRmResourceGroup -ResourceId $vm.ResourceGroupId -Force \ No newline at end of file