Hi everyone,
I need to collect hardware hash from new PC using a USB task sequence media.
My Task Sequence performs the following operations:
1 - Connect to Network Folder
2 - Run Powershell script: (Get-WindowsAutoPilotInfo.ps1 )
3 - Restart the Pc
The task sequence ends successfully and I find the generated .csv file.
The problem is that this file is empty, without HW ID that I would need to put the PC in autopilot.


I modified the script with these parameters:
What could be causing this problem?