Skip to content

Get-CdsDatabaseCurrencies-Html

PowerApps: HTML report of CDS database currencies

#Requires -Version 5.1
#Requires -Modules Microsoft.PowerApps.Administration.PowerShell

[CmdletBinding()]
Param(
    [Parameter(Mandatory = $true)]
    [pscredential]$PACredential
)

Process {
    try {
        ConnectPowerApps -PAFCredential $PACredential
        $result = Get-AdminPowerAppCdsDatabaseCurrencies -ErrorAction Stop | Select-Object * | Sort-Object CurrencyName
        Write-Output ($result | ConvertTo-Html -Fragment)
    }
    catch { throw }
    finally { DisconnectPowerApps }
}

PowerApps credentials

An interactive directory of PowerShell scripts.