Can a variable be created to look for folders within a path that have no workflows assigned please?
$pwenvsearch = "WSP - Documents (4 State)"
The above is how we'd normally do it to look for an existing workflow but I can't wrok out the syntax for this to look for folders with no workflow.
The following should do what you need.
Get-PWFolders | Where-Object WorkflowID -EQ 0
Answer Verified By: robgriff