@yun du
According to the your above description, it seems that you are tried to run the PowerShell script to detect whether the SSD is the first drive. I suspect that the issue is due to device failed to detect the PowerShell script in PE. I found a related blog and I want to share with you:
http://c-nergy.be/blog/?p=3964
Note that the link is not from MS, just for your reference.
Please try to add the three features in Windows PE:
PowerShell 3.0
Net Framework 4.0
MDAC/ADO can be included as well
Don't forget to update the deployment share before trying to run the Task Sequence in the clients again.
Please feedback the result for me if there are any updates.
Best regards,
Rita
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.