Run Powershell Script (Task Sequence Step) passed parameters not visible in logging
When parameters are provided on a 'Run Powershell Script' in a task sequence, the SMSTS.log only logs the name of the script. It does not log the full command (including parameters) that are invoked.
For example: if I call Java.ps1 with parameters -level 1 -language eng the SMSTS.log only shows...
Running powershell script: 'Java.ps1'(PkgID: SCM00000) with execution policy 'Bypass'
This would be helpful in troubleshooting what parameters were actually passed to the script that is executing. Otherwise you have to track down the task sequence and assume everything entered is passed and run. Or you have to build your PS1 to output(Write-host) those parameter inputs to force them into the SMSTS.log
Thanks for all your suggestions and feedback, updating status to completed.
SCCM 1902 fast Ring released today