Bird
0
0

Why might a signed PowerShell script still fail to run on another computer even if the signature status is 'Valid'?

hard📝 Conceptual Q10 of 15
PowerShell - Scripting Best Practices
Why might a signed PowerShell script still fail to run on another computer even if the signature status is 'Valid'?
AThe script uses deprecated cmdlets
BThe signing certificate is not trusted on the other computer
CThe script file is too large
DThe script was signed with an expired certificate
Step-by-Step Solution
Solution:
  1. Step 1: Understand signature validation depends on trust

    A valid signature means the script matches the signature, but trust depends on the certificate chain on the local machine.
  2. Step 2: Analyze other options

    File size and deprecated cmdlets do not affect signature validity; expired certificates usually cause invalid signatures.
  3. Final Answer:

    The signing certificate is not trusted on the other computer -> Option B
  4. Quick Check:

    Valid signature requires trusted certificate on local machine [OK]
Quick Trick: Valid signature needs trusted cert on each machine [OK]
Common Mistakes:
  • Assuming valid signature means universal trust
  • Blaming file size or cmdlets for signature issues
  • Ignoring certificate trust chain differences

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More PowerShell Quizzes