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.
- # Add PowerApps Account
- Add-PowerAppsAccount
-
- # Get all the flow which contains "Test" in the display name
- $flowColl=Get-Flow
-
- # Loop through all the flows
- foreach($flow in $flowColl)
- {
- # Check whether the flow is enabled
- if($flow.Enabled -eq $false)
- {
- $flow.DisplayName
- }
- }
Output
It displays all the disabled flows.
Thus in this blog, you saw how to get all the disabled flows using PowerShell.
| | | | | | | | | |
Text-to-speech function is limited to 200 characters