# Function Version number

**URL:** <https://forums.powershell.org/t/function-version-number/18674>\
**Category:** PowerShell Help\
**Created:** [February 24, 2022, 11:22am UTC](https://forums.powershell.org/t/function-version-number/18674 "2022-02-24T11:22:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![bert-nieuwenampsen](https://avatars.discourse-cdn.com/v4/letter/b/dc4da7/32.png) [@bert-nieuwenampsen](https://forums.powershell.org/u/bert-nieuwenampsen)\
**Post date:** [February 24, 2022, 11:22am UTC](https://forums.powershell.org/t/function-version-number/18674/1 "2022-02-24T11:22:07Z")

</div>

Hello,  
Is it possible to add a version number to cutsom functions ?

`Get-ChildItem function:"cctg-*"`

Output:

```auto
CommandType Name Version Source
----------- ---- ------- ------
Function cctg-writelog                                                 
Function cctg-writefile                                                
Function cctg-checklog

```

---

<div class="post-metadata">

**Author:** ![Olaf](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/olaf/32/992_2.png) [@Olaf](https://forums.powershell.org/u/Olaf)\
**Post date:** [February 24, 2022, 11:55am UTC](https://forums.powershell.org/t/function-version-number/18674/2 "2022-02-24T11:55:33Z")

</div>

> [@bert-nieuwenampsen](#):
>
> Is it possible to add a version number to cutsom functions ?

Yes - when you put them in a module they will inherit the version from that module. 😉

---

<div class="post-metadata">

**Author:** ![bert-nieuwenampsen](https://avatars.discourse-cdn.com/v4/letter/b/dc4da7/32.png) [@bert-nieuwenampsen](https://forums.powershell.org/u/bert-nieuwenampsen)\
**Post date:** [February 24, 2022, 12:17pm UTC](https://forums.powershell.org/t/function-version-number/18674/3 "2022-02-24T12:17:46Z")

</div>

Hahaha Olaf, i known. But is there not another way ?

---

<div class="post-metadata">

**Author:** ![Olaf](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/olaf/32/992_2.png) [@Olaf](https://forums.powershell.org/u/Olaf)\
**Post date:** [February 24, 2022, 12:42pm UTC](https://forums.powershell.org/t/function-version-number/18674/4 "2022-02-24T12:42:39Z")

</div>

> [@bert-nieuwenampsen](#):
>
> But is there not another way ?

None that I know of, sorry. 🤷🏽‍♂️

---

<div class="post-metadata">

**Author:** ![dotnVo](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dotnVo](https://forums.powershell.org/u/dotnVo)\
**Post date:** [May 16, 2024, 8:18pm UTC](https://forums.powershell.org/t/function-version-number/18674/5 "2024-05-16T20:18:17Z")

</div>

Closed on May 16, 2024, 8:18pm UTC


