Private/Get-TemplateNumberTimesTwo.ps1
function Get-TemplateNumberTimesTwo { [CmdletBinding()] param ( [Parameter(Mandatory = $true, Position = 0)] $Number ) begin { $Number = $Number * 2 } process { Write-Output $Number } end { } } |