While working on one of the Azure Automation Accounts project I had to test and provide a demo of Desired State Configuration (DSC) on the Azure Virtual Machine, how it can be useful. There was a client requirment to not to use Group Policy for hardening, but the configuration must be done through D…
Blog posts : "desired state configuration"
Solved Powershell DSC Error A configuration is pending If you are in Pull Mode please runn Update-DscConfiguration
While working on few Powershell DSC (Desired State Configuration) script and pushing it on remote computer using Start-DscConfiguration command, but I was constantly receiving below error.
A configuration is pending. If you are in Pull mode, please run Update-DscConfiguration to pull a new co…
Azure automation account DSC for On-Premise Virtual Machine on boarding
In my earlier series on on-prem Powershell DSC server I shown how to configure DSC (Desired State configuration) server and its client on windows & linux. Enabling WinRm is one of the main prerequisite for all DSC operations. If I see DSC's future, Microsoft is more and more focusing on Azure DSC …
Getting started with Powershell Desired State Configuration (DSC) on Linux
DSC is a (DevOps) management platform in PowerShell that enables you to manage your IT and development infrastructure with configuration as code. While writing Part 1: Configure PowerShell remoting between Windows and Linux my main motive was to configure push Desired State Configuration (DSC) on L…
How to force a PowerShell DSC client to refresh configuration from pull server
While testing DSC (Desired State Configuration) Pull method on client, I had to forcefully refresh configuration from pull many times, as I could not wait for 30 Mins of frequency time to apply the changes. Below cmdlet helps to refresh configuration immediately. This command need to run as an Admin…
Part 3: Configure PowerShell DSC Local configuration manager LCM in pull mode and update configuration
This is last part of configuring individual clients local configuration manager (LCM) in DSC pull mode so they can get and retrieve configuration copy every certain refresh frequency mode. You can treat LCM as an agent and it is by default there in on every system. where at least Poweshell version 4…
Part 2: Generate target server node config for PowerShell DSC pull server
Part 1: Build your first Microsoft PowerShell DSC pull server
Here in this demo I am writing on how to build and configure basic Powershell DSC http pull server, this is just a simple http server no ssl certificate involved, In my earlier article DSC (DESIRED STATE CONFIGURATION) : DEPLOYING ACTIVE DIRECTORY, where I had explained what is desired state config…
POWERSHELL CONVERT EXCEL TO DSC (DESIRED STATE CONFIGURATION) CONFIGURATION HASHTABLE FORMAT
I use Powershell DSC (Desired State Configuration) a lot for windows servers configuration, And I make use of DSC hashtable (configurationdata) frequently. Here is Microsoft fantastic article guide for writing DSC hashtable. But while adding multiple node I find sometimes it takes time to adding ex…
Blog Search
Page Views
10399456
Archive
- September 2023 (6)
- July 2023 (15)
- June 2023 (5)
- May 2023 (9)
- April 2023 (4)
- March 2023 (7)
- February 2023 (1)
- January 2023 (1)
- December 2022 (10)
- November 2022 (15)
Comments
-
Rob LloydSeptember 25, 2023 06:06AM
-
September 21, 2023 03:16AM
-
Shahab HussainSeptember 11, 2023 01:28PM
-
josephAugust 31, 2023 04:25PM
-
SaraAugust 25, 2023 11:59AM