Maintaining a complete list of binary extensions is probably a lost battle, but maybe consider adding the most common image formats?
I set the following before I compile new versions of our templates.
Set-PSFConfig -Module 'PSModuleDevelopment' -Name 'Template.BinaryExtensions' -Value @('.dll', '.exe', '.pdf', '.doc', '.docx', '.xls', '.xlsx','.png','.ico','.bmp','.jpg','.pdb') -Initialize -Description "When creating a template, files with these extensions will be included as raw bytes and not interpreted for parameter insertion."
Just a minor suggestion.
Maintaining a complete list of binary extensions is probably a lost battle, but maybe consider adding the most common image formats?
I set the following before I compile new versions of our templates.
Set-PSFConfig -Module 'PSModuleDevelopment' -Name 'Template.BinaryExtensions' -Value @('.dll', '.exe', '.pdf', '.doc', '.docx', '.xls', '.xlsx','.png','.ico','.bmp','.jpg','.pdb') -Initialize -Description "When creating a template, files with these extensions will be included as raw bytes and not interpreted for parameter insertion."
Just a minor suggestion.