iPhone backup module through iTunes services

I want use iTunes services or APIs or SDK or script or command.please any type of scripts, commands, iTunes API/SDK sample code or link…. OS:WindowsiTunes 11.0iPhone 5iOS 6.0orHow to Enable automatic iTunes Backup create when iOS Devices Connected to the computer. setting is on script form.