Dear Everybody, I am noob to COM and dll call stuff, but I need to create a script which can verify if a file is signed or not. For this, I have googled this script: $obj = ObjCreate("Scripting.Signer") $showui = False $Signed = $obj.VerifyFile("C:\sample.exe", $showui) ConsoleWrite($Signed & @CR) The problem is, that the $Signed variable always will be false (on every file, even on those which are signed for sure). If I set the $showui to true, then a windows appears where I have