This automation has been designed to eliminate manual efforts on Space Capacity ESC tickets where DBA has to add new data or log files on new volume, and restrict data or log files on old volume. Apart from this, this procedure can be used for variety of tasks related to capacity management.
In the first place this script is really awesome and safe. Couldn't imagine the work behind developing this. almost of the features are working as expected and posting below to let you know the issue I have faced. Also attached the screen shot of Verbose
After executing the function
EXEC tempdb..[usp_AnalyzeSpaceCapacity] @expandTempDBSize = 1 ,@output4IdealScenario = 1
I get error "Arithmetic overflow error for data type tinyint, value = -3.". unable to solve this in the code. May you please help here to come out if it.