@@ -220,23 +220,23 @@ Notice the difference in alignment for the age column between both examples.
220
220
### Example 5A: Get to know the generated object
221
221
222
222
```
223
- $template = @'
224
- {[string]Name*:Phoebe Cat}, {[string]phone:425-123-6789}, {[int]age:6}
225
- {[string]Name*:Lucky Shot}, {[string]phone:(206) 987-4321}, {[int]age:12}
226
- '@
227
-
228
- $testText = @'
229
- Phoebe Cat, 425-123-6789, 6
230
- Lucky Shot, (206) 987-4321, 12
231
- Elephant Wise, 425-888-7766, 87
232
- Wild Shrimp, (111) 222-3333, 1
233
- '@
234
-
235
- $testText |
236
- ConvertFrom-String -TemplateContent $template -OutVariable PersonalData |
237
- Out-Null
238
-
239
- $PersonalData | Get-Member
223
+ $template = @'
224
+ {[string]Name*:Phoebe Cat}, {[string]phone:425-123-6789}, {[int]age:6}
225
+ {[string]Name*:Lucky Shot}, {[string]phone:(206) 987-4321}, {[int]age:12}
226
+ '@
227
+
228
+ $testText = @'
229
+ Phoebe Cat, 425-123-6789, 6
230
+ Lucky Shot, (206) 987-4321, 12
231
+ Elephant Wise, 425-888-7766, 87
232
+ Wild Shrimp, (111) 222-3333, 1
233
+ '@
234
+
235
+ $testText |
236
+ ConvertFrom-String -TemplateContent $template -OutVariable PersonalData |
237
+ Out-Null
238
+
239
+ $PersonalData | Get-Member
240
240
241
241
242
242
0 commit comments