I want to execute a task or command on the SharePoint Server.
What Nintex product provides for this functionality?
Please include additional resources available regarding this topic.
None of the default actions will call PowerShell.
Dataone have a product that works with Nintex Workflow. Most of their site is not in English but they do have some English content here http://de.slideshare.net/DataOneGmbH/data-one-poweractivity
I have not tried these my self.
I'm pretty new to the products and have just gone through training. I too wondered about firing a powershell script from a workflow. I haven't tried this, but couldn't you use an Execute SQL task to fire a T-SQL xp_cmdshell command that fires the Powershell script?
There are definitely some assumptions made in this scenario: this assumes you have an MSSQL server available and that xp_cmdshell is enabled (a big "if", since that can be a security consideration). Also, I'm not sure whether you'd be able to actually return any information to the workflow using this method. But even if it can just simply fire a script, that may suffice for some needs.
First of all, I wouldn't recommend to allow freeform PowerShell scripts in any sort of a Workflow Activity. Otherwise, each workflow publishing iteration would require a thorough security and stability review.
Otherwise, I think it's possible to use Nintex SDK to create wrapper actions for specific allowed PowerShell cmdlets such as Get-Process, Get-ADUser, whatever is appropriate for your organization.
...I wouldn't recommend to allow freeform PowerShell scripts in any sort of a Workflow Activity. Otherwise, each workflow publishing iteration would require a thorough security and stability review.
This depends on the practices within your organization. Being a financial services company, my organization operates with a high degree of security, however I'm allowed the latitude & trust to introduce scripts that perform needed operations without said review. Depending on personnel abilities, resources and the level of acceptable risk, it can be entirely appropriate.
Well, Ryk, what can I say? Congratulations, you must have deserved it somehow.
And, quite possibly, you may have withheld some formal or unspoken limitations of what you may or may not include in those scripts. Are they enforced in any way?
Do you believe it will be exactly the same with the next Chief Security Office occupant or anyone that might take your place when you decide to move on?