Hi Luc,
I have one file .psm1 with multiple functions which i want to upload to a internal share where others can download and use it .
i want to make sure that that content is not modified once other use them .
could you suggest the simplest way of digitally sign that .psm1 file
i have following powershell version
There is the PowerShell about_Signing page which explains all the steps.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
There is the PowerShell about_Signing page which explains all the steps.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
thnaks.
for some resons new-selfsignedcertificate command is missing .
What does $PSVersionTable say?
Are you on a Windows 10 or Server 2016 (or higher) box?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
its windows server 2008 R2.and powershell version is 5.1
That would explain, afaik the module is included with Windows 8 and Server 2012 (and higher).
This post, see Create a self-signed certificate on Windows server, explains how to do the same with the certreq command.
Hope that helps.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
thanks iam checking this.