Verifies the digital signature encapsulated in a script.
Object.VerifyFile (FileName, ShowUI)
A string containing the name of the script file.
A Boolean value. If the ShowUI argument is false, then the Scripting.Signer object determines whether a trusted source provided the signature without prompting the user. If it is true then the Scripting.Signer object may create dialog boxes to prompt the user if there is not sufficient information to determine trust.
On some operating systems, the operating system also creates a dialog box if the flag is on, the file is trusted, and you have not already checked the "Always trust " option.
The following example demonstrates signature checking using the command-line argument processing features.