Are you look for Using statement in Powershell. 🙂 . In this post we are looking into function that can be used as a Using statement.
Applications need to authenticate azure to do their jobs. Applications should have the least privileges to only do their jobs. Service principle allows applications to authenticate azure in secure way.
In some cases, we need to run some script in administrator mode.Sometimes we face a situation where we want to know whether the script is running on Administrator mode.
In some cases we need to call POST REST API using Powershell.
Let’s go through sample code to get to know how it is done using Powershell.
In this Article we will go through below topics.
Create sample Web API
Invoke Web API in Powershell
There are some cases we need to update json files using powershell. This is how I do it. I used