ADT Service and Dependencies commandlets are not working in V4

Start-ADTServiceAndDependencies is not working as expected. here is the issue i am facing

[Post-Install] :: Error Record:
-------------
 
Message               : The variable '$Service' cannot be retrieved because it has not been set.
 
FullyQualifiedErrorId : VariableIsUndefined,Start-ADTServiceAndDependencies
ScriptStackTrace      : at Start-ADTServiceAndDependencies<Process>, C:\Users\User\Desktop\Libreoffice\PSAppDeployToolkit\PSAppDeployToolkit.psm1: line 20774
at Install-ADTDeployment, C:\Users\User\Desktop\Libreoffice\Invoke-AppDeployToolkit.ps1: line 176
at <ScriptBlock>, C:\Users\User\Desktop\Libreoffice\Invoke-AppDeployToolkit.ps1: line 326
 
PositionMessage       : At C:\Users\User\Desktop\Libreoffice\Invoke-AppDeployToolkit.ps1:176 char:5
+     Start-ADTServiceAndDependencies -Name 'bthserv'
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Already resolved. Apologies but it was a bug that slipped through: [Bug] Start-ADTServiceAndDependencies in 4.0.6 throws error · Issue #1348 · PSAppDeployToolkit/PSAppDeployToolkit · GitHub.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.