PSResourceGet icon indicating copy to clipboard operation
PSResourceGet copied to clipboard

There is no way to add PSSCriptInfo block into existing script

Open peetrike opened this issue 7 months ago • 0 comments

Summary of the new feature / enhancement

New-PSScriptFileInfo overwrites script contents, if there is any. Update-PSScriptFileInfo refuses to do anything if PSSCriptInfo block is missing or doesn't contain Version, GUID and Author properties

Proposed technical implementation details (optional)

There should be a way to add PSSCriptInfo block to existing scripts, other than copying it from another script.

peetrike avatar Jun 18 '25 07:06 peetrike