November 2018
Intermediate to advanced
566 pages
17h 15m
English
We need a simple script to accomplish this. The assumption made for this recipe is that all names consist of two words, separated by a space. Each line in the input file contains only one name.
Here is the logical flow:
The following script will accomplish this:
$Names = Get-Content ./ch09/02-names.txt $NewNames = @() foreach ...
Read now
Unlock full access