Howdy! Hopefully this article will help: https://photostructure.com/faq/windows-troubleshooting/#powershell-isnt-working-correctly
Know that many windows antivirus/anti-malware don’t work with PhotoStructure (or any cpu and sub process-intensive application). See this post for details: Antivirus Bitdefender identifies PhotoStructure as a Malware - #2 by mrm