From eOne comes Tech Tuesday: Command Line SmartConnect
The eOne Dynamics GP and CRM Blog: Tech Tuesday: Command Line SmartConnect
Microsoft & the GP EcosystemDevelopment & Integration
Archived post from 2012. Dynamics GP and the links it points to have changed since; check current documentation before relying on version-specific steps.