Missing Register-SPWorkflowService cmdlet

I want to create a development environment to try-out SharePoint 2013 Workflows.  I have a development SharePoint 2013 Farm (on a single server) and have installed Workflow Manager using the instructions given on MSDN at http://msdn.microsoft.com/en-us/library/jj193478(v=azure.10).aspx.

I am now trying to link Workflow Manager and SharePoint using the Register-SPWorkflowService cmdlet.  My problem is that PowerShell returns the following error:

Register-SPWorkflowService : The term 'Register-SPWorkflowService' is not recognized as the name of a cmdlet, function,
script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is
correct and try again.
At line:1 char:1
+ Register-SPWorkflowService
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Register-SPWorkflowService:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

I have seen other people reporting similar issues - in these cases the problem appears to be either that the SharePoint cmdlets (in Microsoft.SharePoint.PowerShell.dll) were not loaded or that the SharePoint 2013 Management Shell was not started in Administrator mode.  I believe that I have addressed both of these causes - I can use other SharePoint PowerShell cmdlets, such as Get-SPWeb, without any problems.

Inspecting the Microsoft.SharePoint.PowerShell.dll assembly on my server, I can see classes for other cmdlets (e.g. SPCmdletGetWeb) but cannot see a class named SPCmdletRegisterWorkflowService or similar.

Is it possible that I have an out-of-date version of the Microsoft.SharePoint.PowerShell.dll assembly?  If so, how can I update it?

January 6th, 2015 3:47pm

if you do a get-command from the powershell do you see it listed in there similar to this screenshot:

Free Windows Admin Tool Kit Click here and download it now
January 6th, 2015 8:28pm

Wes,

I have the same issue.  When I run Get-Command as suggested I don't see the Register-SPWorkflowService cmdlet.  I have checked the version of windows.SharePoint.Pwershell.dll and it is 15.0.4657.1000.  Is this the latest version?  If not, how can I get hold of the latest version?Hoping you, or someone else can help.

John

March 26th, 2015 10:30am

I honestly don't know why it would be missing.  It has always been there for me.  I thought maybe by a slim chance that you need the Workflow Client installed first, but I looked in my lab and I don't have the workflow client installed yet and I still see the cmdlet.

I assume this is the normal SharePoint installation and not Foundation?  I'm not sure if its present in foundation or not since I've never installed that version.

Thanks.

Free Windows Admin Tool Kit Click here and download it now
March 26th, 2015 1:25pm

Wes,

I am going to apply SP1 overnight to see if that solves the issue.  We are running the Enterprise edition, so should really have everything available to us.

Thanks for your reply

John

March 26th, 2015 1:30pm

I am experiencing the same issue. Just like you, I have the Enterprise edition installed, but am missing Register-SPWorkflowService. Did installing SP1 solve this?
Free Windows Admin Tool Kit Click here and download it now
May 14th, 2015 11:57am

If memory serves me well it did as I was able to get everything working the way it was intended to.
May 15th, 2015 1:46am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics