maurice-daly / DriverAutomationTool

Home of the Driver Automation Tool
https://www.msendpointmgr.com
BSD 2-Clause "Simplified" License
382 stars 114 forks source link

PowerShell Error. You cannot call a method on a null-valued expression. At line:17154 char:5 #444

Closed Get-SomeCofee closed 1 year ago

Get-SomeCofee commented 1 year ago

Trying to get started using the tool. I'm getting this error when running DriverAutomationTool.exe Any idea how I can get past this? I could not find the PS1 file to look at the PowerShell code to troubleshoot this further. Also Microsoft is checked and grayed out and can't be unchecked.

[Start Up]
- Initialising Driver Automation Tool
- Loading required PowerShell modules
- Checking for preinstalled PS modules
- Importing module BitsTransfer
[Launching GUI]
[Azure Registy Settings Detected]
- Obtaining all Azure values from registry path HKLM:\SOFTWARE\MSEndpointMgr\DriverAutomationTool
- Setting values in the UI
You cannot call a method on a null-valued expression.
At line:17154 char:5
+ ...             $OSBuild = ($WindowsBuildHashTable.Item("$OSBuild")).Spli ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull

210659667-42be72b2-76e0-434d-b749-e8832aedd2d3

chrisecklar commented 1 year ago

Try clicking the Reset Tool button at the bottom left and setting only the settings needed.

Get-SomeCofee commented 1 year ago

The reset button worked for me. Thanks for the tip

jacqtscpl commented 4 months ago

OK i have done the reset...

now i am getting...

Start-BitsTransfer : The server name or address could not be resolved At line:1093 char:8

jacqtscpl commented 4 months ago

image