I’ve recently been doing a lot of work around signed and unsigned assemblies. Someone passed along this great command to me which will recursively check whether or not each assembly at and below the current directory is signed.

for /r %i in (*.exe *.dll) do @sn.exe /q /vf "%i"