PowerShell is now available in Azure Function App (still in preview).
you can create a Powershell Function App like this:
using PowerShell modules
currently, you can’t install a powershell module inside Azure Function App, but you can upload your module to the script directory and access it from there. to do this, use Kudu:
browse to site / wwwroot:
then you can drag and drop your module ZIP-file to the right part of the explorer
the file will be uploaded and unpacked automatically
now you can reference this module directly from your function script
Import-Module './PSHTML/0.7.11/PSHTML.psd1'
an example with PowerShell and PSHTML is visible here: