Hi
When running commands via the Lansweeper deployment module, keep in mind that what you're effectively doing is sending CMD commands down to the targeted computers, to be run in the user context of the Run Mode user. Most feedback received, that isn't related to Deployment connectivity, is returned directly as a result of running the command on the computer in question.
With this in mind, ordinarily, you should be able to troubleshoot most deployment packages by running the command in your package in a CMD that's running with the same user as your selected Run Mode. The output, if run in the exact same user context on the exact same machine, should match the one received in the Deployment\Installer Logs page.
We, unfortunately, cannot provide in-depth support for creating, modifying or troubleshooting custom deployment packages. Some tips though:
• Make sure the package itself has a logical path, both for failure and success actions. Check which was the last step performed by the package, via the installer logs.
• If the last performed step was your command step, run this command in similar circumstances in a local CMD. It's possible you're only getting feedback that the .ps1 file was indeed run, but the command contained within it may have failed still, this feedback would be thrown in PowerShell most likely and not CMD. PowerShell feedback is unlikely to be parsed through.
Here's a couple of links on deployments for reference going forward:
• Deployment requirements: https://www.lansweeper.com/knowledgebase/deployment-requirements/
Creating your deployment packages: https://www.lansweeper.com/knowledgebase/creating-a-deployment-package/