File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 24
24
* Added cmdlet Update-AzConnectedMachine
25
25
* Added ResourceGroup to the display table
26
26
* Fixed the issue of extension settings not being able to serialize correctly
27
+ * Fixed issue with Connect-AzConnectedMachine throwing errors when onboarding multiple machines at once
27
28
28
29
## Version 0.3.0
29
30
* Upgraded API version to 2021-05-20
Original file line number Diff line number Diff line change @@ -241,7 +241,7 @@ function Connect-AzConnectedMachine {
241
241
# Handle show result by getting the name and getting the machine object
242
242
$showResult | ForEach-Object {
243
243
# Get name of machine registered
244
- $selectStrResult = $ShowResult | Select-String - Pattern " ^Resource Name\s+: (?<resourceName>.*)\n"
244
+ $selectStrResult = $_ | Select-String - Pattern " ^Resource Name\s+: (?<resourceName>.*)\n"
245
245
$Name = $selectStrResult.Matches.Groups |
246
246
Where-Object Name -EQ resourceName |
247
247
Select-Object - ExpandProperty Value
You can’t perform that action at this time.
0 commit comments