Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Microsoft Flow and PowerShell combined to automate everything

5,706 views

Published on

Microsoft Flow is a great workflow automation tool, but most likely PowerShell is not the first thing that comes to mind when thinking about Flow. In this session I will show how to integrate Microsoft Flow in PowerShell scripts and vice-versa and to highlight the benefits that this provide. This demo-heavy session will feature a lot of PowerShell code and live demos.¬¬¬ At the end of the talk we will have time for Q&A, so if you have any questions in regards to automation with Microsoft Flow or PowerShell be sure to have your questions ready.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Microsoft Flow and PowerShell combined to automate everything

  1. 1. Microsoft Flow and PowerShell combined to automate everything Jaap Brasser @jaap_brasser
  2. 2. • Technical Marketing Engineer at Rubrik • PowerShell Conference EU/Asia • Dutch PowerShell User Group • Speaker / Blogger / Tech Enthusiast • PowerShell Gallery • TechNet / MSTechCommunity @jaap_brasser jaapbrasser.com/about
  3. 3. Agenda Cloud Automation What is Microsoft Flow PowerShell & Flow Demos Questions
  4. 4. Cloud Automation
  5. 5. What is Microsoft Flow
  6. 6. Connectors
  7. 7. Flow Templates
  8. 8. Why Microsoft Flow? Use connectors to get data Create triggers based on this data Build workflows Integrate and combine different services
  9. 9. Demo Summary • Flow.Microsoft.com • Create and modify from template • Create a custom flow
  10. 10. Demo Summary • Created a form in Forms • Created a flow with a trigger • Added advanced condition • Take action based on condition
  11. 11. Advanced conditions ($_.status –eq ‘unnecessary’) –or ($_.status –eq ‘completed’)
  12. 12. Demo Summary • Export flow • Zipped json files in package • Import flow • Select connectors upon Import
  13. 13. Flow packages Packaged as zip Manifest files APIs Connections Definition
  14. 14. What are webhooks A webhook transfers data over HTTP(s) Create triggers based on this data Build workflows Integrate and combine different services Methods: Get & Post
  15. 15. Encryption!
  16. 16. Demo Summary • Created a Flow with webhook • Write payload to disk • Viewed what was delivered • Transferred binary content • Created binary file from content
  17. 17. Request Flow
  18. 18. Request Limits
  19. 19. Runtime Limits
  20. 20. Demo Summary • Install Data gateway • Create connection online • Run a watcher locally • Create button enabled flow
  21. 21. Data Gateway sources SQL Server SharePoint Oracle Informix Filesystem DB2
  22. 22. Gateway Port Configuration
  23. 23. Summary Use cases of Microsoft Flow Microsoft Flow templates Took a look at connectors Created workflows Ran PowerShell triggered by Flow
  24. 24. Questions?
  25. 25. References • https://docs.microsoft.com/en-us/flow/gateway-reference • https://docs.microsoft.com/en-us/flow/guided-learning/ • https://docs.microsoft.com/en-us/flow/use-expressions-in-conditions • https://github.com/jaapbrasser/events • https://www.jaapbrasser.com

×