OSDeploy / OSD

OSD Shared Functions
MIT License
130 stars 54 forks source link

Update Invoke-HPIA.ps1 - Write-CMTraceLog Fix #152

Closed MichaelEscamilla closed 1 week ago

MichaelEscamilla commented 1 week ago

When running the SetupComplete phase, the 'Invoke-HPIA' is not running HPIA as the logging function is not being called properly. This results in the try failing over to the catch and HPIA never ends up running.

  1. Manually running 'Invoke-HPIA' from the OSD module
  2. Importing this Pull request of Invoke-HPIA.ps1
  3. Running again and getting a successful run

image

gwblok commented 1 week ago

Thanks for doing this, I've made the modifications in VSCode and updated right after I saw your post.

MichaelEscamilla commented 1 week ago

Thanks Gary!