Variable for folders with no workflow.

Hi

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.

Regards

R