Skip to content

Commit d9527e5

Browse files
committed
updating tests
1 parent 6a2a9cc commit d9527e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

22
$clientSecret = ConvertTo-SecureString ([Guid]::NewGuid().ToString().Substring(1,10)) -AsPlainText -Force
33
$pscredentials = New-Object System.Management.Automation.PSCredential("vmadmin", $clientSecret)
4-
New-AzVm -Name MyVM -Credential $pscredentials -WhatIf
4+
New-AzVm -Name myVm1234 -Credential $pscredentials -WhatIf
55
$vm = New-AzVm -Name myVm1234 -Credential $pscredentials
66
$vm
77

88
#Cleanup
9-
Remove-AzureRmResourceGroup -ResourceId $vm.ResourceGroupId
9+
Remove-AzureRmResourceGroup -ResourceId $vm.ResourceGroupId -Force

0 commit comments

Comments
 (0)