If i run below commands without -site parameter it goes through the entire farm:
.\NWAdmin.exe -o PurgeWorkflowData -deletedLists -silent
.\NWAdmin.exe -o PurgeWorkflowData -lastActivityBeforeLocal $SixMonthOld -state "Running" -silent
There are some site collections being locked in our farm. So can you please confirm what will happen if it runs through the locked site collection?
Solved! Go to Solution.
I suggest you to make a POC ( Proof of concept ) creating a site collection running a simple workflow and then lock it and run the command.
Let's us know the results