Last active
January 11, 2018 19:59
-
-
Save hbulens/3e91e66a65352a9de028cbb29a82e60f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
param([string]$fileName='') | |
$content = Get-Content $fileName | |
foreach ($line in $content) | |
{ | |
Write-Host $line | |
$scriptPath = '.\FileWithContentGenerator.ps1' | |
invoke-expression "$scriptPath $line" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment