AlticapMyModule.psm1
$global:var = "test" function Write-Something { <# .SYNOPSIS Short Description .DESCRIPTION Detailed Description .EXAMPLE Write-Something explains how to use the command can be multiple lines .EXAMPLE Write-Something another example can have as many examples as you like #> write-host $global:var } |