Please be aware that when you set the ExecutionPolicy in PowerShell on x64, you must change also in PowerShell x86 (particulary if you execute the scripts from a x86 editor).
I have lost a lot of time because I have forgotten that my script editor was not a x64 version.
When you find this kind of stuff, you said "OK, it is very logical, behind the scene, it is a modification of a registry key" and x64 OS keeps a special key "Wow6432Node" for x32 programs mappings.
Hope it helps someone
FAQ I True Mart data leak
3 months ago