Menu

Virtual Geek

Tales from real IT system administrators world and non-production environment

Blog posts : "desired state configuration"

Configure a Azure VM with Desired State Configuration in Automation Account

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…

Read more

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…

Read more

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 …

Read more

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…

Read more

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…

Read more

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…

Read more

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…

Read more

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…

Read more

9 blog posts

Blog Search

Page Views

12085283

Follow me on Blogarama