Hello, just starting seeing this a week ago: “One or more files within this module have invalid digital signatures” I checked config.psd1 for example and notice in the digital signature tab…Certificate information: “The digital signature of the object did not verify”. The valid from dates are not expired. I’m not well versed in digital certificates. Normally I just wait until a newer version comes out that normally gets signed by newer certificates. Just wanted to bring this up if it hasn’t already. Any suggestions/recommendations always welcomed. Thank you.
which config.psd1 ?
\config\config.psd1
or
\PSAppDeployToolkit\Config\config.psd1
Hello. \PSAppDeployToolkit\Config\config.psd1
You should not change that one.
Put it back the way was.
Make the changes you need in \config\config.psd1 instead.
Will do. Much appreciated.
I’ve added a !README.txt file to the root of the module, to hopefully alarm people enough to open it and read it prior to monkeying with things they shouldn’t be!
Thanks mjr4077au. I assure you the “monkeying around” is purely my unfamiliarity with all the new enhancements.
I’ve only had the appdeploytoolkit.v4 launch You Tube for guidance. Unfortunately, when I download a fresh PSAppDeployToolkit v4.0.6 from GitHub and install I’m still getting this:
New-ADTTemplate: One or more files within this module have invalid digital signatures.
Recommendation: Please re-download PSAppDeployToolkit and try again.
I’m sure it’s something goofy happening on my work device. Our company has some very tight Privilege Management and other endpoint lockdowns. However none of these are flagging any heartburn with the Patch my PC certs.
Again I appreciate everyone on this forum taking the time to provide guidance and assistance. Cheers!
I didn’t mean to offend with the “monkeying around” stuff, it’s confusion that’s occurred more often than not so we need to address it somehow to make the experience better for users.
Hopefully you enjoy working with PSADT v4 though! If there’s any further questions, even just feedback, please let us know ![]()
The digital signature is a good idea. But how can I add my own functions in the template. So that when I call New-ADTTemplate, this function is automatically available in the new package. For example, to set my own branding.
I can add images and also new folders, but as soon as a script like ps1 or psm1 is included and does not contain a signature from Appdeploy, an error message appears.
Is this possible to set this in the Template or have I add my own function only in every package by my self?
@EF-Alex can you please raise this on our GitHub issues tracker as a feature request so it doesn’t get lost here? There’s a similar request in [Feature] v4 New-ADTTemplate populates the $adtsession values · Issue #1099 · PSAppDeployToolkit/PSAppDeployToolkit · GitHub but it’s a bit different. I suggest opening a new feature request.
Thanks for your reply,
I created a feature request for this.
[Feature] Add own Function in the Template · Issue #1407 · PSAppDeployToolkit/PSAppDeployToolkit
Hi everybody,
My issue was closed because of other issue something like this.
[Feature] v4 New-ADTTemplate populates the $adtsession values #1099
You should place your own custom functions within PSAppDeployToolkit.Extensions\PSAppDeployToolkit.Extensions.psm1.
There have been requests to add custom config items to New-ADTTemplate, when this is addressed we can make sure it can accept a wide range of customisations, from config files, assets, additional files/folders, to pre-configured ADTSession values.
Then you can maintain your own PSAppDeployToolkit.Extensions folder that you request to be part of your new template.
