Habitat is placing new Automate Scripting Functions into the script editor for MSPs to use as needed.
Here is the current list of available functions and the parameters you need/can pass to it.
- Habitat Powershell - Linux POSH Execute (Param-1= %computerid%, Param-2= Powershell command to execute)
- Habitat Powershell - POSH Command Execute (Param-1= %computerid%, Param-2= Saved Powershell Command Name to execute)
- Habitat Powershell - POSH Script Execute (Param-1= %computerid%, Param-2= Saved Powershell Script Name to execute, Param-3={optional}extra parameters to pass to script)
- Habitat Stalled Agent - Restart Failed Agents via ScreenConnect (Param-1= %computerid%)
The POSH Command and POSH Script functions do not take commands and scripts directly, you must use the Habitat Powershell tool to save the scripts and commands to Automate first then pass to the function the friendly name you gave command or script.