PS C:\test\goto> new-item -ItemType directory -name[03] -path C:\test\goto\2018 | ForEach-Object -InformationVariable[59_201803xx.txt]
cmdlet ForEach-Object at command pipeline position 2
Supply values for the following parameters:
Process[0]: get-childitem -path C:\test\goto
Process[1]: -membername 59_20180301.txt
Process[2]:
PS C:\test\goto>
And these are the examples of the files
-a---- 5/3/2018 5:15 PM 0 59_20180103.txt
-a---- 5/3/2018 5:15 PM 0 59_20180104.txt
-a---- 5/3/2018 5:15 PM 0 59_20180105.txt
-a---- 5/3/2018 5:15 PM 0 59_20180106.txt
-a---- 5/3/2018 5:15 PM 0 59_20180107.txt
-a---- 5/3/2018 5:15 PM 0 59_20180108.txt
-a---- 5/3/2018 5:15 PM 0 59_20180109.txt
-a---- 5/3/2018 5:15 PM 0 59_20180110.txt
-a---- 5/3/2018 5:15 PM 0 59_20180111.txt
-a---- 5/3/2018 5:15 PM 0 59_20180112.txt
-a---- 5/3/2018 5:15 PM 0 59_20180113.txt
-a---- 5/3/2018 5:15 PM 0 59_20180114.txt
-a---- 5/3/2018 5:15 PM 0 59_20180115.txt
-a---- 5/3/2018 5:15 PM 0 59_20180116.txt
-a---- 5/3/2018 5:15 PM 0 59_20180117.txt
-a---- 5/3/2018 5:15 PM 0 59_20180118.txt
-a---- 5/3/2018 5:15 PM 0 59_20180119.txt
-a---- 5/3/2018 5:15 PM 0 59_20180120.txt
-a---- 5/3/2018 5:15 PM 0 59_20180121.txt
-a---- 5/3/2018 5:15 PM 0 59_20180122.txt
-a---- 5/3/2018 5:15 PM 0 59_20180123.txt
-a---- 5/3/2018 5:15 PM 0 59_20180124.txt
-a---- 5/3/2018 5:15 PM 0 59_20180125.txt
-a---- 5/3/2018 5:15 PM 0 59_20180126.txt
-a---- 5/3/2018 5:15 PM 0 59_20180127.txt
-a---- 5/3/2018 5:15 PM 0 59_20180128.txt
-a---- 5/3/2018 5:15 PM 0 59_20180129.txt
-a---- 5/3/2018 5:15 PM 0 59_20180130.txt
-a---- 5/3/2018 5:15 PM 0 59_20180131.txt
-a---- 5/3/2018 5:15 PM 0 59_20180201.txt
-a---- 5/3/2018 5:15 PM 0 59_20180202.txt
-a---- 5/3/2018 5:15 PM 0 59_20180203.txt