SnapCenter fails to run PowerShell scripts as job prescripts/postscripts
Applies to
- SnapCenter Server (SC) 5.x and later
- PowerShell (PS) scripts
Issue
SC fails to run PS scripts as job pre scripts and post scripts due to the following errors.
Activity 'Prescripts' failed with error: Run pre scripts failed to execute. Pre script exited with script error code: -1,
script error message: Execution of the script not completed within entered timeout value: 60000
Activity 'Postscripts' failed with error: Run pre scripts failed to execute. Pre script exited with script error code: -1,
script error message: Execution of the script not completed within entered timeout value: 60000