Locate Nintex Forms in SharePoint via PowerShell

26 8 12.4K

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: http://alps.codeplex.com