Skip to content

Instantly share code, notes, and snippets.

@paulczy
Created September 1, 2022 21:09
Show Gist options
  • Save paulczy/9b9d1e292a3546c7e7b53ef1c079d52f to your computer and use it in GitHub Desktop.
Save paulczy/9b9d1e292a3546c7e7b53ef1c079d52f to your computer and use it in GitHub Desktop.
# Login to PowerApps for the Admin commands
Write-Host "Installing Module Microsoft.PowerApps.Administration.PowerShell"
Install-Module Microsoft.PowerApps.Administration.PowerShell -Force -Scope CurrentUser
Write-Host "Listing Power App environments..."
Get-AdminPowerAppEnvironment | Format-Table -Property EnvironmentName, DisplayName, Location
Write-Host "Listing Power App environments..."
Get-AdminFlow | Format-Table -Property DisplayName, Enabled, FlowName, EnvironmentName
Write-Host "...DONE"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment