Pass arguments to a scriptblock in powershell Pass arguments to a scriptblock in powershell powershell powershell