Hi!
Thanks for the fast response, I'm new to all of this, so I will describe a bit how I do the think, and maybe you can help me to better understand all this what is going on here by me.
I have to involve ~90 PC's.
A company who are help as to build the commercial and technical foundation to my company give me a PowerShell script which I have to run on every single PC.
It will create a HWID folder on the c:\ and that file which is .CSV I have to mail to them.
The Autopilote.ps1 is actually downloaded a bit later when I start this script:
New-Item -Type Directory -Path "C:\HWID"
Set-Location -Path "C:\HWID"
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Unrestricted
Install-Script -Name Get-WindowsAutoPilotInfo
Get-WindowsAutoPilotInfo.ps1 -OutputFile AutoPilotHWID.csv
When I saw does in the .csv file is no BIOS serial number, I contacted that company and they told me
I have old PC's and I have to buy new one.
That is not true, and is not an option.
They still trying to find a solution how to get ride of the problem.
Now I'm waiting around 20 - 30 days and still no solution.
Then I started to dig deeper, I realized some of my PC's have MSI and ASUS mobos and their BIOS didn't have serial numbers.
I'm pretty fine with PowerShell scripting and I also tried my way to get the most info from that
PC who has no BIOS serial, and yes, the BIOS have no serial no in there.
This is why I'm actually here.
Now, if you cold pls give an example what should I exactly do so I could try to solve the problem, I would really appreciate it.
If I understand you correct, I could try to use this command:
Get-WindowsAutoPilotInfo.ps1 -online -assignedcomputername "MYCOMPUTERNAME" -assign -reboot
Instead of the old one:
Get-WindowsAutoPilotInfo.ps1 -OutputFile AutoPilotHWID.csv
Thank you very much for your help Yannara.
I really appreciate that.