I believe you have an error in your line:
install -script Get-WindowsAutopilotInfo.ps1 -3 -online
If fails because -3 you put there.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello i am trying to import a device into intune using the script on Microsoft Gallery but i am getting the error below :
+CategoryInfo : Not Enabled : (:) [New-CimSession], CimException
+FullyQualifiedErrorID :HRESULT 0X803380e4, Microsoft.Management.Infrastructure.CimCmdlets.NewCimSessionCommand
+PSComputerName : -3
Get-CimInstance : Impossible de lier l'argument au paramètre « CimSession», car il a la valeur Null.
Au caractère C:\Program Files\WindowsPowershell\Scripts\Get-WindowsAutoPilotInfo.ps1:208 :42
I got the window to sign in and used my admin account to do it and then got the error message .
Could you help please
I believe you have an error in your line:
install -script Get-WindowsAutopilotInfo.ps1 -3 -online
If fails because -3 you put there.
@Pavel yannara Mirochnitchenko
Thank you for your answer. That's what i thin too but i am unable to figure out how to fix this.
If i want to add a group tag to a device using PowerShell how am i supposed to do ( if you have any idea)
For me after updating the bios drivers , i was able to get the device hash.