CS is a very wide category. If you do any sort of systems admin work, then you will most definitely be writing scripts at the least. Network admin work also has some script writing that needs done on occasion.
Lots of jobs that fall under the CS category have little to no programming involved. Software development is just one part of it.
Scripting is the biggest cross-over. Otherwise, they are pretty independant. You wouldn't believe how many programmers have no idea what DHCP is. At the same time, you wouldn't believe how many IT people insist on installing anti-virus on embedded real-time machines.
In theory... But a job in IT is a job in setting up or managing networks, troubleshooting computer problems, updating/installing PCs, creating the firewall policies, optimizing network speeds and server performance, backups, etc.
A programmer may need to define a network protocol to transmit data for their application, the IT guy will need to route the port to the appropriate server.
IT professionals don't have to compile code, which is kind of the basis of programming.