SlideShare a Scribd company logo
From PowerShell Function to
Serverless code with Azure Functions
Jaap Brasser
@jaap_brasser
Jaap Brasser
2
Tweets
Blogs
Works
Does
Likes
@ jaap_brasser
@ jaapbrasser.com
Tech Marketeer @ Rubrik.com
Blogger, Speaker, Tech Enthusiast
Cloud Automation, Scripting &
Security
Agenda
Introduction to Cloud Automation
Azure Automation
Microsoft Flow
Azure Functions
Demos!
Cloud
Automation
Azure
Automation
Automate processes
Cross-platform configuration
management
Download example runbooks
and scripts
Event grid integration
Hybrid Runbook Worker
500 free minutes
What is
Microsoft
Flow
Connectors
Flow
Templates
Use Connectors to get data
Create triggers based on this
data
Build workflows
Integrate and combine different
services
Approval flows
Long runtime of flows
What are Azure Functions
What is
serverless?
Azure Web Apps
Advantages of
Azure
Functions
Pay for what you use
No Infrastructure to manage
No maintenance of servers
Can be placed in existing subscriptions
Simplify code writing
What are we
trying to solve?
Using our scripting skills in the
cloud
Re-using existing code / scripts
Faster deployment
Less maintenance
From PowerShell Function to Serverless code with Azure Functions
Demo Summary
• Triggers available
• Scenarios available
• Experimental flag
• How to create Azure Function
• Delete Azure Function
PowerShell language support is still
experimental
From PowerShell Function to Serverless code with Azure Functions
Demo Summary
• Create PowerShell function
• Used cron notation
From PowerShell Function to Serverless code with Azure Functions
Demo Summary
• Which PowerShell version
• What variables are defined
• Saw the variables & files
• Reconfigured function.json
• Used Invoke-RestMethod to run
Error handling
From PowerShell Function to Serverless code with Azure Functions
Demo Summary
• Had our function fail
• Looked at different error logs
• Fixed the code based on output
Other Deployment methods
Use existing PowerShell
skills
Develop serverless code
Interact with other services
Free tier
functions.azure.com
Questions?

More Related Content

PDF
Discover Microsoft's Cloud Automation Suite
PDF
Using Microsoft Flow for IT Professionals
PDF
Microsoft Flow and PowerShell combined to automate everything
PDF
Automate Anything with Microsoft Flow
PDF
Create awesome Azure Functions with PowerShell
PDF
Automate yourself out of a job - Use ChatOps!
PDF
Automate it with Azure Functions
PDF
Automate everything with PowerShell
Discover Microsoft's Cloud Automation Suite
Using Microsoft Flow for IT Professionals
Microsoft Flow and PowerShell combined to automate everything
Automate Anything with Microsoft Flow
Create awesome Azure Functions with PowerShell
Automate yourself out of a job - Use ChatOps!
Automate it with Azure Functions
Automate everything with PowerShell

What's hot (20)

PDF
Workshop automating with microsoft flow
PDF
Using Chat Automation - ChatOps
PDF
Automate it with Azure Functions
PDF
Go with the flow!
PDF
Automating everything with Microsoft Flow
PDF
Bridge the gap with Chat Automation
PDF
Navigate around the edge with PowerShell
PPTX
Serverless patterns v3 public
PPTX
Serverless patterns v2 public
PPTX
Writing power shell the right tool for the job
PPTX
SenchaCon 2016: The Changing Landscape of JavaScript Testing - Joel Watson an...
PPTX
ASP.NET MVC - Latest & Greatest So Far
PDF
Secure your environment by automation
PPTX
SPSNL17 - Be more effective with the PnP Provisioning Engine - Erwin van Hunen
PPTX
Building your own JEA Configuration
PPTX
Serverless with Azure Functions
PDF
Apply chat automation today - work smarter tomorrow
PDF
O365Con18 - Working with PowerShell, VS Code and GitHub - Thomas Vochten
PPTX
Chat automation in a modern it environment
PDF
O365Con18 - SharePoint Framework for Administrators - Waldek Mastykarz
Workshop automating with microsoft flow
Using Chat Automation - ChatOps
Automate it with Azure Functions
Go with the flow!
Automating everything with Microsoft Flow
Bridge the gap with Chat Automation
Navigate around the edge with PowerShell
Serverless patterns v3 public
Serverless patterns v2 public
Writing power shell the right tool for the job
SenchaCon 2016: The Changing Landscape of JavaScript Testing - Joel Watson an...
ASP.NET MVC - Latest & Greatest So Far
Secure your environment by automation
SPSNL17 - Be more effective with the PnP Provisioning Engine - Erwin van Hunen
Building your own JEA Configuration
Serverless with Azure Functions
Apply chat automation today - work smarter tomorrow
O365Con18 - Working with PowerShell, VS Code and GitHub - Thomas Vochten
Chat automation in a modern it environment
O365Con18 - SharePoint Framework for Administrators - Waldek Mastykarz
Ad

Similar to From PowerShell Function to Serverless code with Azure Functions (20)

PDF
Serverless API with Azure Functions
PPTX
2015-12-02 - WebCamp - Microsoft Azure Logic Apps
PPTX
Serverless Application Development with Azure
PDF
Getting Started with Serverless Architectures using Azure Functions
PPTX
slides.pptx
PPTX
Azure serverless architectures
PPTX
#SPFestDC #Azure #Functions V2: What's new and getting started
PPTX
Azure functions: Build apps faster with serverless architecture (March 2018)
PDF
Azure Serverless with Functions, Logic Apps, and Event Grid
PDF
Sergii Baidachnyi ITEM 2018
PPTX
#SPFestSea Introduction to #Azure #Functions v2
PPTX
Save Azure Cost
PPTX
#SPSNYC 2019 Automating your digital workplace provisioning with #MicrosoftGr...
PPTX
Introduction to Azure Functions
PDF
PuppetConf 2017: Unlocking Azure with Puppet Enterprise- Keiran Sweet, Source...
PPTX
#SPFestSEA Automate digital workplace provisioning with #MicrosoftGraph and #...
PPTX
Azure Pilot Test
PPTX
#SPFestDC Automate your digital workplace provisioning with #Microsoft Graph ...
PPTX
Building Azure Logic Apps
PPTX
Azure integration services from the IT Professional perspective
Serverless API with Azure Functions
2015-12-02 - WebCamp - Microsoft Azure Logic Apps
Serverless Application Development with Azure
Getting Started with Serverless Architectures using Azure Functions
slides.pptx
Azure serverless architectures
#SPFestDC #Azure #Functions V2: What's new and getting started
Azure functions: Build apps faster with serverless architecture (March 2018)
Azure Serverless with Functions, Logic Apps, and Event Grid
Sergii Baidachnyi ITEM 2018
#SPFestSea Introduction to #Azure #Functions v2
Save Azure Cost
#SPSNYC 2019 Automating your digital workplace provisioning with #MicrosoftGr...
Introduction to Azure Functions
PuppetConf 2017: Unlocking Azure with Puppet Enterprise- Keiran Sweet, Source...
#SPFestSEA Automate digital workplace provisioning with #MicrosoftGraph and #...
Azure Pilot Test
#SPFestDC Automate your digital workplace provisioning with #Microsoft Graph ...
Building Azure Logic Apps
Azure integration services from the IT Professional perspective
Ad

More from Jaap Brasser (13)

PDF
Level up your SQL and Azure, by using Rubrik
PDF
Your first PowerShell script: Open the door to automation
PDF
Write Serverless Applications with PowerShell and Azure Functions
PPTX
Bringing Dev and Ops together with ChatOps
PDF
Fun with PowerShell 6.0 JEA Remoting and cross-platform
PDF
PowerShell from 50000 feet
PDF
Apply chat automation today - work smarter tomorrow
PDF
Automation How i came to see the light
PDF
Paint it blue with PowerShell
PDF
Chat automation in a Modern IT environment
PDF
Manage your infrastructure with PowerShell
PDF
Reach the next level with PowerShell
PDF
Automating security with PowerShell
Level up your SQL and Azure, by using Rubrik
Your first PowerShell script: Open the door to automation
Write Serverless Applications with PowerShell and Azure Functions
Bringing Dev and Ops together with ChatOps
Fun with PowerShell 6.0 JEA Remoting and cross-platform
PowerShell from 50000 feet
Apply chat automation today - work smarter tomorrow
Automation How i came to see the light
Paint it blue with PowerShell
Chat automation in a Modern IT environment
Manage your infrastructure with PowerShell
Reach the next level with PowerShell
Automating security with PowerShell

Recently uploaded (20)

PDF
Encapsulation theory and applications.pdf
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Approach and Philosophy of On baking technology
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Electronic commerce courselecture one. Pdf
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PPTX
Cloud computing and distributed systems.
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
Encapsulation theory and applications.pdf
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Understanding_Digital_Forensics_Presentation.pptx
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Review of recent advances in non-invasive hemoglobin estimation
Unlocking AI with Model Context Protocol (MCP)
Approach and Philosophy of On baking technology
NewMind AI Weekly Chronicles - August'25 Week I
Electronic commerce courselecture one. Pdf
Encapsulation_ Review paper, used for researhc scholars
The Rise and Fall of 3GPP – Time for a Sabbatical?
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
MIND Revenue Release Quarter 2 2025 Press Release
Cloud computing and distributed systems.
MYSQL Presentation for SQL database connectivity
Network Security Unit 5.pdf for BCA BBA.
Programs and apps: productivity, graphics, security and other tools
Reach Out and Touch Someone: Haptics and Empathic Computing

From PowerShell Function to Serverless code with Azure Functions