AzCID.psm1

Function Test-PrivateFile {
    <#
    .SYNOPSIS
    Short description
 
    .DESCRIPTION
    Long description
 
    .PARAMETER TestParam
    Parameter description
 
    .EXAMPLE
    An example
 
    #>


    [CmdletBinding()]
    Param(
        [Parameter(
            Mandatory = $false,
            ValueFromPipelineByPropertyName = $true
        )]
        [Int]
        $TestParam
    )
    Process{
        If ($IsCoreCLR) {
            $SomeVar = "SomeValue"
        }
        Else {
            $SomeVar = "SomeOtherValue"
        }
        If ($TestParam -lt 5) {
            $SomeVar = $True
        }
        Else {
            $SomeVar = $false
        }

        $SomeVar
    }
}

# .ExternalHelp AzCID-help.xml
Function Test-PublicFile {
    [CmdletBinding()]
    Param(
        [Parameter(
            Mandatory = $false,
            ValueFromPipelineByPropertyName = $true
        )]
        [Int]
        $Scope
    )
    Process {
        Test-PrivateFile -TestParam $Scope
    }
}

# Module scope code below the Loader region is appended to the built module after the function definitions.