HelloTechDay.psm1

<#
.Synopsis
   Adds a Hello TechDay function to show how modules work!
.DESCRIPTION
   Test Module for TechDay Presentation
.PARAMETER TechDay
   Determines the string to be returned
.EXAMPLE
   Hello-TechDay -TechDay
.EXAMPLE
   TechDay
.INPUTS
   None
.OUTPUTS
   None
.NOTES
   None
#>

function Hello-TechDay{
    #get-help about_functions_advanced_parameters
    [CmdletBinding()]
    Param(
    [Parameter(Mandatory=$false,Position=1)]
    [switch]$TechDay
    )

    if($TechDay){
        return "Hello, TechDay!"
    }
    
    return "Hello, World!"
}
New-Alias -Name 'TechDay' -Value 'Hello-TechDay'