RosettaCodeData/Task/Inverted-index/PowerShell/inverted-index-2.ps1

16 lines
248 B
PowerShell
Raw Permalink Normal View History

2026-04-30 12:34:36 -04:00
# Populate test files
@'
Files full of
various words.
'@ | Out-File -FilePath C:\Test\File1.txt
@'
Create an index
of words.
'@ | Out-File -FilePath C:\Test\File2.txt
@'
Use the index
to find the files.
'@ | Out-File -FilePath C:\Test\File3.txt