Let me do it for you
This article describes the use of Windows PowerShell Desired State Configuration (DSC).
“PowerShell” refers to both the command-line shell and scripting language designed system administration.
Built on the .NET Framework, Windows PowerShell helps IT professionals and power users control and automate the administration of the Windows operating system and applications that run on Windows.
Windows PowerShell cmdlets (command-lets) enables computers to be managed from the command line, much like Bash on Linux machines.
However, PowerShell offers much more consistence than the various commands added over time by various parties.
- It reads Excel files natively as well as JSON, XML, and even ASCII.
Open source on Linux and MacOS
From the PowerShell and DSC Team YouTube channel:
This 51-minute series of demos was published Aug 18, 2016.
This article notes Desired State Configuration for Linux and the promise of SSH support arrived in 2014 (several months before Microsoft open sourced .NET and brought .NET Core to Linux). But “you had to author your scripts on the Windows platform, you had to configure things on the Windows platform and then deliver the desired configuration to a Linux box and have it be configured; now you can do all of that on Linux.”
Noteworthy pages in the FAQ:
Deploy as MOF
MOF is a file extension for a Windows Management Object file format.
MOF files created in the Managed Object Format have syntax based on Microsoft Visual C++.
MOF files can be compiled into the Windows Management Instrumentation (WMI) repository using mofcomp.exe.
MOF files often have a partner DLL (dynamic link library) file that stores data needed for retrieval in the MOF file.
Chef incorporates DSC
Windows PowerShell 4.0 introduces Desired State Configuration (DSC),
A Practical Overview of Desired State Configuration TechEd North America 2014
Windows PowerShell 4.0 introduces Desired State Configuration (DSC), and it’s time to put it to use. With DSC, you declaratively ..
Why I love PowerShell Desired State Configuration and so should u by Nicholas Dille https://twitter.com/NicholasDille http://dille.name/blog/
http://stackoverflow.com/questions/8153750/how-to-search-a-string-in-multiple-files-and-return-the-names-of-files-in-powers How to search a string in multiple files and return the names of files in Powershell
Infrastructure as Code
- Reusable automation
- Source Control
- Unit Testing
- Continuous Deployment
- Integration tests, which validate the desired state
- Operations Validation, which validates the functionality at desired state!
Operation Validation Framework
Get-Command -Module OperationValidation
It has two functions:
Get-OperationValidation to Retrieve operational tests from modules
Invoke-OperationValidation to run operational tests from modules
More on API Microservices
This is one of a series:
- API Portals
- GraphQL API
- GitHub API
- GitHub GraphQL API
- API Swagger
- API Design Tools
- API Design
- API Programming
- REST API Responses
- API Management Evaluation
- API Management by Microsoft Azure
- PowerShell GitHub API Programming
- PowerShell API Programming
- PowerShell Desired State Configuration
- PowerShell on Mac
More on DevOps
This is one of a series on DevOps:
- Git and GitHub vs File Archival
- Git Commands and Statuses
- Git Commit, Tag, Push
- Git Utilities
- Data Security GitHub
- GitHub API
- Choices for DevOps Technologies
- Java DevOps Workflow
- AWS DevOps (CodeCommit, CodePipeline, CodeDeploy)
- Digital Ocean
- Cloud regions
- Azure Cloud Onramp
- Azure Cloud
- Powershell Ecosystem
- Powershell on MacOS
- Jenkins Server Setup
- Jenkins Plug-ins
- Jenkins Freestyle jobs
- Dockerize apps
- Docker Setup
- API Management Microsoft
- Scenarios for load