Where is the standard place to put a PowerShell script version number?

Question:

Since PowerShell version 3 there has been very well defined comment based help comment block:
https://technet.microsoft.com/en-us/library/hh847834.aspx
What I would like to know is there a standard for versioning a PowerShell script like there is in C#? I am asking as I am about to publish a module and the psd1 file has:


In my own scripts I use the following standard:

Answer:

Use the ScriptFileInfo cmdlets, like: New-ScriptFileInfo

Source:

Where is the standard place to put a PowerShell script version number? by licensed under CC BY-SA | With most appropriate answer!

Leave a Reply