It appears that running two PowerShell scripts back-to-back in the Task Sequence without a reboot will result in an exit code 3221225477 which can be found in the smsts.log. That appears to be some sort of access violation. If a reboot is added to the Task Sequence another PowerShell script can be ran successfully. I was able to replicate on demand. It appears that the PSDPowerShell.ps1 script is never started based on the PSDPowerShell log files.
It appears that running two PowerShell scripts back-to-back in the Task Sequence without a reboot will result in an exit code 3221225477 which can be found in the smsts.log. That appears to be some sort of access violation. If a reboot is added to the Task Sequence another PowerShell script can be ran successfully. I was able to replicate on demand. It appears that the PSDPowerShell.ps1 script is never started based on the PSDPowerShell log files.