PowerShell Run Script Tasks (such as some custom inventory tasks) fail to run on some computers. The task details says that the execution of scripts is disabled on the system.
The task details of the failed task shows a message like this:
File C:\windows\TEMP\AltirisScript0
At line:1 char:2
+ & <<<< 'C:\windows\TEMP\AltirisScript0
+ CategoryInfo : NotSpecified: (:) [], PSSecurityException
+ FullyQualifiedErrorId : RuntimeException
The PowerShell Execution Policy is locked down and prevents the Symantec Management Agent from running PowerShell Scripts.
Create a Run Script task to modify the PowerShell Execution Policy on the computers to allow "Remote Signed" PowerShell scripts to run. To do this follow How to Modify Registry Keys and Entries with a Script Task to create a script task with the following command:
REG ADD HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\ShellIds\Microsoft.PowerShell /f /v ExecutionPolicy /t REG_SZ /d RemoteSigned