Windows PowerShell is a Windows command-line shell designed especially for system administrators. Windows PowerShell includes an interactive prompt and a scripting environment that can be used independently or in combination.
docs.microsoft.com
We are building a system and need to transform-and-load data. This feature must be implemented with data imported from and published to webservices. Time to dust off my Powershell skills from 2015 (open your application to Powershell) and get to work.
With one commandlet we load and transform the data (import-webdata) This writes the new object to the output. Next on the pipeline will be another commandlet that sends the transformed data to the other webservice (publish-structureddata)
To test this we use unittest for the (internal) C# code and Pester for the powershell part and the integration testing. Got to love automation 🙂
Want to start building a Powershell module too? Here are some links:
Pingback: Powershell extension method | .NET Development by Eric