Creating a data factory using PowerShell
Often, we don’t have access to the UI and we want to create infrastructure as code. It is easily maintainable and deployable and allows us to track versions and have code commit and change requests. In this recipe, we will use PowerShell to create a data factory. If you have never used PowerShell before, you can find information about how to get PowerShell and install it onto your machine at the end of this recipe.
Getting ready
For this exercise, we will use PowerShell to create a data pipeline and copy our file from one folder to another.
How to do it…
Let’s create an ADF job using PowerShell:
- In the case of macOS, we can run the following command to install PowerShell:
brew install powershell/tap/powershell
- Check that it is working:
pwsh
Optionally, we can download PowerShell for our OS from https://github.com/PowerShell/PowerShell/.
-
...