Showing results for 
Search instead for 
Did you mean: 

Locate Nintex Forms in SharePoint via PowerShell

Workflow Hero
26 5 3,278

Products: Nintex Forms 2010, Nintex Forms 2013

We sometimes get asked if there is a way to count the number of Nintex Forms in each Site Collection farm wide.

This PowerShell script will output each site collection URL in a SharePoint farm with a count of how many Nintex Forms are present in each site Collection.

PowerShell Script
  1. Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue
  2. Get-SPSite | Get-SPWeb | ForEach-Object {
  3. Write-host "Beginning search for Nintex Forms in :" $_.url
  4. Write-host "Number of Nintex Forms in $($($($_.Lists["NintexForms"]).Items | ?{$_.ContentType.Name -eq "Document"} | ? {$_.level -notcontains "Draft"}).Count)"
  5. }

Version History and other scripts can be found here:

Workflow Hero

Is there a way to export the latest version of the form to a folder?

Workflow Hero

Good man Aaron!  Are you still updating your workflow analyzer tool?  This could be a welcome addition to that as well.

Workflow Hero

I have not had to make any updates in a couple of years now (other than moving the code over to GitHub and Azure). I am not sure if this would make sense in the tool. Currently the tool is 100% standalone and does not communicate with SharePoint/Nintex in any way.

Workflow Hero

Hey Aaron, is there a way to specify the name of the list the form appears in?

Workflow Hero

Yeah, I believe you can add a where clause in there. I will have a look later.