Microsoft has released a preview version of PowerShell cmdlets for PowerApps, which can also be used to manage your flows. In this blog, you will see how to connect to Microsoft Flow using PowerShell to manage your flows.
Download the PowerShell scripts file from here. Extract the zip files.
Open PowerShell window and run the following command.
<folderlocation> - where the unzipped PowerShell Script files are available
Run the following command to import the modules.
- Import-Module .\Microsoft.PowerApps.Administration.PowerShell.psm1 -Force
- Import-Module .\Microsoft.PowerApps.PowerShell.psm1 -Force
Run the following command to manually unblock the PowerShell files. Refer the known issue.
Run the following command to connect. Enter the credentials in the login popup window.
Run the following command to get all the Flows created or shared with you.
Reference
https://docs.microsoft.com/en-us/powerapps/administrator/powerapps-powershell
Thus in this blog, you saw how to connect to Microsoft Flow using PowerShell.