To enable
exec sp_addextendedproc 'xp_cmdshell', 'xplog70.dll'
To disable
exec sp_dropextendedproc 'xp_cmdshell'
It should be disabled. people will often protect xp_cmdhell further by renaming the .dll file
---------------------------------------------------------------------