Functions/HealthMonitor/Get-HealthMonitorScript.ps1

function Get-FpsHealthMonitorScript {

    [scriptblock] {      
        'Hello World' | Out-File -FilePath 'C:\temp\test.txt'
    }
}
Export-ModuleMember -Function Get-FpsHealthMonitorScript