Inside an existing PowerShell script I can call another script with a parameter like this:
.\Folder\Script.ps1 -parameter $data
But how do I use another variable for the folder part it self? The following part is not working:
.\$folder\Script.ps1 -parameter $data