I was trying to register the workflow service
using the following script in SharePoint 2013.
Register-SPWorkflowService –SPSite "http://c4968397007/" –WorkflowHostUri
"http://C4968397007.DC07.Loc:12291" –AllowOAuthHttp
I was getting the following error.
I went to Control Panel and uninstalled "Microsoft SharePoint Developer
Tools Preview for Visual Studio 2012".
Once uninstalled I opened the new powershell window and tried to register the
workflow service, it worked fine.