Hello,
i have just update on of our PSADT3.x Script with the help from your PSAppDeployToolkit.Tools.
All Function where successfuly merge to PSADT 4x functions correctly. Only the “Exit-Script -ExitCode 3010” is merged to “Exit-ADTScript -ExitCode 3010”.
This will in result in error:
[Invoke-AppDeployToolkit.ps1] [Error] :: Error Record:
-------------
Message : Die Benennung "Exit-ADTScript" wurde nicht als Name eines Cmdlet, einer Funktion, einer Skriptdatei oder eines ausführbaren Programms erkannt. Überprüfen Sie die Schreibweise des Namens, oder ob der Pfad korrekt ist (sofern enthalten), und wiederholen Sie den Vorgang.
FullyQualifiedErrorId : CommandNotFoundException
The PSAppdDeployToolkit.psd1 manifest file has no Exit-AdtScript and the Module psm1 has only a function Exit-ADTInvocation with a parameter exitcode.
Can you help me?
Thanks
Greetinings
Torte