Overview of PSScriptInfo metadata blocks
PSScriptInfo allows you to embed a JSON-formatted metadata block at the start of a PowerShell script to track version-specific information such as version numbers, unique GUIDs, tags, creation/update dates, changelogs, and license links. The block is delimited by the tags
<#PSScriptInfo and PSScriptInfo#>.<#PSScriptInfo
{
"Version" : "1.0.0.0",
"GUID" : "a3002a7c-0870-4b5f-8bed-cd31f7f23432",
"DateCreated" : "2021-03-29",
"DateUpdated" : "2021-03-30",
"ProjectSite" : "https://www.getps.dev"
}
PSScriptInfo#>
param (
$param1,
$param2
)