With SCCM 2102 R2, it is now possible to run a powershell script in a task sequence.
Is it possible to use Deploy-Application.ps1 with this function?
I'm trying to deploy an application after the OS installation and always get this message in the smsts.log:
Module [C:_SMSTaskSequence\Packages\NBB004EB\AppDeployToolkit\AppDeployToolkitMain.ps1] failed to load:
You cannot call a method on a null-valued expression.
At C:_SMSTaskSequence\Packages\NBB004EB\Deploy-Application.ps1:81 char:3
- . $moduleAppDeployToolkitMain