How can I invoke a powershell script from within another script? This is not working:
$param1 = "C:/Users/My Folder/file1"
$param2 = "C:/Users/My Folder/file2"
$command = "C:/Users/My Folder/second.ps1"
Invoke-expression $command -File1 $param1 -File2 $param2
... Second.ps1:
param(
[string]File1, [string]File2)...