Bug Fixes for Configure-TempDB