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

What's hot (20)

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

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

PDF
Write Serverless Applications with PowerShell and Azure Functions
Jaap Brasser
 
PDF
Going serverless with azure functions
gjuljo
 
PPTX
Serverless architecture with Azure
Christos Matskas
 
PPTX
Serverless on Azure with Functions
Christos Matskas
 
PDF
Serverless Computing with Azure
Analben Mehta
 
PPTX
Azure Functions Overview
Joe Raio
 
PDF
DevOps in the era of serverless computing - Alessandro Vozza - Codemotion Ams...
Codemotion
 
PPTX
Azure Functions Real World Examples
Yochay Kiriaty
 
PPSX
C# Powershell and an Azure Function Walk Into a Bar...
Obilogic
 
PPTX
Go Serverless with Cosmos DB, Azure Functions and Blazor
Timothy McAliley
 
PPTX
Scalable APIs with Azure Functions
Christos Matskas
 
PPTX
From Zero to Serverless
Chad Green
 
PPTX
Azure serverless architectures
Benoit Le Pichon
 
PPTX
From Zero to Serverless (CoderCruise 2018)
Chad Green
 
PPTX
Serverless in azure
Veresh Jain
 
PDF
Azure Functions: Unleashing the Power of Serverless Computing
1221 North Church Street, Suite 202 Moorestown, NJ 08057
 
PDF
Serverless API with Azure Functions
Analben Mehta
 
PPTX
Serverless Orchestration with Azure Durable Functions
Callon Campbell
 
PPTX
Azure Functions & Serverless Computing
Abhimanyu Singhal
 
PPTX
Going Serverless with Azure Functions
Sam Fernando
 
Write Serverless Applications with PowerShell and Azure Functions
Jaap Brasser
 
Going serverless with azure functions
gjuljo
 
Serverless architecture with Azure
Christos Matskas
 
Serverless on Azure with Functions
Christos Matskas
 
Serverless Computing with Azure
Analben Mehta
 
Azure Functions Overview
Joe Raio
 
DevOps in the era of serverless computing - Alessandro Vozza - Codemotion Ams...
Codemotion
 
Azure Functions Real World Examples
Yochay Kiriaty
 
C# Powershell and an Azure Function Walk Into a Bar...
Obilogic
 
Go Serverless with Cosmos DB, Azure Functions and Blazor
Timothy McAliley
 
Scalable APIs with Azure Functions
Christos Matskas
 
From Zero to Serverless
Chad Green
 
Azure serverless architectures
Benoit Le Pichon
 
From Zero to Serverless (CoderCruise 2018)
Chad Green
 
Serverless in azure
Veresh Jain
 
Azure Functions: Unleashing the Power of Serverless Computing
1221 North Church Street, Suite 202 Moorestown, NJ 08057
 
Serverless API with Azure Functions
Analben Mehta
 
Serverless Orchestration with Azure Durable Functions
Callon Campbell
 
Azure Functions & Serverless Computing
Abhimanyu Singhal
 
Going Serverless with Azure Functions
Sam Fernando
 
Ad

More from Jaap Brasser (12)

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

Recently uploaded (20)

PDF
From Chatbot to Destroyer of Endpoints - Can ChatGPT Automate EDR Bypasses (1...
Priyanka Aash
 
PPTX
UserCon Belgium: Honey, VMware increased my bill
stijn40
 
PDF
Hyderabad MuleSoft In-Person Meetup (June 21, 2025) Slides
Ravi Tamada
 
PDF
Unlocking FME Flow’s Potential: Architecture Design for Modern Enterprises
Safe Software
 
PDF
Python Conference Singapore - 19 Jun 2025
ninefyi
 
PDF
UiPath Agentic AI ile Akıllı Otomasyonun Yeni Çağı
UiPathCommunity
 
PPSX
Usergroup - OutSystems Architecture.ppsx
Kurt Vandevelde
 
PDF
Enhancing Environmental Monitoring with Real-Time Data Integration: Leveragin...
Safe Software
 
PDF
Database Benchmarking for Performance Masterclass: Session 1 - Benchmarking F...
ScyllaDB
 
PDF
“Scaling i.MX Applications Processors’ Native Edge AI with Discrete AI Accele...
Edge AI and Vision Alliance
 
PPTX
Smarter Governance with AI: What Every Board Needs to Know
OnBoard
 
PDF
Optimizing the trajectory of a wheel loader working in short loading cycles
Reno Filla
 
DOCX
Daily Lesson Log MATATAG ICT TEchnology 8
LOIDAALMAZAN3
 
PPTX
Simplifica la seguridad en la nube y la detección de amenazas con FortiCNAPP
Cristian Garcia G.
 
PPTX
MARTSIA: A Tool for Confidential Data Exchange via Public Blockchain - Poster...
Michele Kryston
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
PDF
Plugging AI into everything: Model Context Protocol Simplified.pdf
Abati Adewale
 
PDF
Redefining Work in the Age of AI - What to expect? How to prepare? Why it mat...
Malinda Kapuruge
 
PDF
The Growing Value and Application of FME & GenAI
Safe Software
 
PDF
Salesforce Summer '25 Release Frenchgathering.pptx.pdf
yosra Saidani
 
From Chatbot to Destroyer of Endpoints - Can ChatGPT Automate EDR Bypasses (1...
Priyanka Aash
 
UserCon Belgium: Honey, VMware increased my bill
stijn40
 
Hyderabad MuleSoft In-Person Meetup (June 21, 2025) Slides
Ravi Tamada
 
Unlocking FME Flow’s Potential: Architecture Design for Modern Enterprises
Safe Software
 
Python Conference Singapore - 19 Jun 2025
ninefyi
 
UiPath Agentic AI ile Akıllı Otomasyonun Yeni Çağı
UiPathCommunity
 
Usergroup - OutSystems Architecture.ppsx
Kurt Vandevelde
 
Enhancing Environmental Monitoring with Real-Time Data Integration: Leveragin...
Safe Software
 
Database Benchmarking for Performance Masterclass: Session 1 - Benchmarking F...
ScyllaDB
 
“Scaling i.MX Applications Processors’ Native Edge AI with Discrete AI Accele...
Edge AI and Vision Alliance
 
Smarter Governance with AI: What Every Board Needs to Know
OnBoard
 
Optimizing the trajectory of a wheel loader working in short loading cycles
Reno Filla
 
Daily Lesson Log MATATAG ICT TEchnology 8
LOIDAALMAZAN3
 
Simplifica la seguridad en la nube y la detección de amenazas con FortiCNAPP
Cristian Garcia G.
 
MARTSIA: A Tool for Confidential Data Exchange via Public Blockchain - Poster...
Michele Kryston
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
Plugging AI into everything: Model Context Protocol Simplified.pdf
Abati Adewale
 
Redefining Work in the Age of AI - What to expect? How to prepare? Why it mat...
Malinda Kapuruge
 
The Growing Value and Application of FME & GenAI
Safe Software
 
Salesforce Summer '25 Release Frenchgathering.pptx.pdf
yosra Saidani
 

From PowerShell Function to Serverless code with Azure Functions