Signed PowerShell Script

%3CLINGO-SUB%20id%3D%22lingo-sub-314722%22%20slang%3D%22en-US%22%3ESigned%20PowerShell%20Script%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-314722%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20All%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECan%20someone%20explain%20more%20about%20signed%20PS%20Scripts%3F%3C%2FP%3E%3CP%3EWhy%20we%20need%20to%20use%20signed%3F%20what%20is%20the%20purpose%20of%20signing%20the%20scripts.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%3C%2FP%3E%3CP%3EJames%20Daniel%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-314722%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EWindows%20PowerShell%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-314866%22%20slang%3D%22en-US%22%3ERe%3A%20Signed%20PowerShell%20Script%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-314866%22%20slang%3D%22en-US%22%3E%3CP%3EYou%20don't%20*need*%20to%20sign%20them%2C%20but%20in%20a%20nutshell%20-%20signing%20is%20a%20way%20to%20%22certify%22%20that%20the%20script%26nbsp%3Bcode%20was%20written%20by%20specific%20entity%20and%20has%20not%20been%20modified.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20you%20need%20detailed%20instructions%20on%20how%20to%20do%20that%2C%20here's%20an%20old%20scripting%20guy%20post%3A%20%3CA%20href%3D%22https%3A%2F%2Fblogs.technet.microsoft.com%2Fheyscriptingguy%2F2010%2F06%2F16%2Fhey-scripting-guy-how-can-i-sign-windows-powershell-scripts-with-an-enterprise-windows-pki-part-1-of-2%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fblogs.technet.microsoft.com%2Fheyscriptingguy%2F2010%2F06%2F16%2Fhey-scripting-guy-how-can-i-sign-windows-powershell-scripts-with-an-enterprise-windows-pki-part-1-of-2%2F%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

Hi All,

 

Can someone explain more about signed PS Scripts?

Why we need to use signed? what is the purpose of signing the scripts.

 

Regards

James Daniel

1 Reply
Highlighted

You don't *need* to sign them, but in a nutshell - signing is a way to "certify" that the script code was written by specific entity and has not been modified.

 

If you need detailed instructions on how to do that, here's an old scripting guy post: https://blogs.technet.microsoft.com/heyscriptingguy/2010/06/16/hey-scripting-guy-how-can-i-sign-wind...