Languages/PowerShell/PowerShell-Language.ps.ps1

Language function PowerShell {
    <#
    .SYNOPSIS
        PowerShell PipeScript Language Definition
    .DESCRIPTION
        PipeScript Language Definition for PowerShell.

        Unlike most other languages, this does not allow for the templating of PowerShell (use PipeScript for that).

        This language definition is used to help identify PowerShell files and provide functionality that improves PowerShell.
    #>

    [ValidatePattern("\.ps1$")]
    param()

    # PowerShell files end in .ps1
    $FilePattern = '\.ps1$'

    # PowerShell block comments are `<#` `#>`:
    $StartComment = '<\#'
    $EndComment   = '\#>'    
}