In this blog, you will see how to get all the disabled flows (flows that have been created or shared with you).

Refer to my previous blog - How to connect to Microsoft Flow using PowerShell.

Open PowerShell window and run the following script. Enter the credentials in the login popup window.

  1. # Add PowerApps Account
  2. Add-PowerAppsAccount
  3. # Get all the flow which contains "Test" in the display name
  4. $flowColl=Get-Flow
  5. # Loop through all the flows
  6. foreach($flow in $flowColl)
  7. {
  8. # Check whether the flow is enabled
  9. if($flow.Enabled -eq $false)
  10. {
  11. $flow.DisplayName
  12. }
  13. }

Output

It displays all the disabled flows.

Thus in this blog, you saw how to get all the disabled flows using PowerShell.