Just an FYI about a typo that was pointed out to me

CASE $CaseType = 3 $SystemType = 'Dekstop'

Should be

CASE $CaseType = 3 $SystemType = 'Desktop'

I made a typo on Desktop