Figured out the answer. I just needed to run a bash script in the shortcut with this code
osascript -e 'tell app "Terminal"
do script "cd /foldername\n./filename.ps1"
end tell'
And I can string as many commands together as I want with newlines