Menu

Virtual Geek

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

Blog posts : "dsc"

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

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

How to Install and Use Microsoft PowerShell on Linux

As Microsoft has made Powershell open source and can be installed and used on different operating system family (Linux and MacOS), Basically Microsoft is working towards new Powershell Core make it available everywhere now and it is cross platform. As I don't have much knowledge on bash scripting, I…

Read more

DSC (DESIRED STATE CONFIGURATION) : DEPLOYING ACTIVE DIRECTORY

This is my 3rd Part on installing and configuring Active Directory domain controller using PowerShell DSC (Desired State Configuration), Earlier in Part 1 : Install and configure AD using GUI way, and in the Part 2 : Normal PowerShell commands are used to do the same task. 

Powershell DSC (Desi…

Read more

POWERSHELL DSC XACTIVEDIRECTORY ERROR - A NETBIOS DOMAIN NAME MUST BE SPECIFIED

While testing Powershell DSC (Desired State Configuration) for Active Directory Domain (First Domain Controller) setup I was getting below error constantly.

Verification of prerequisites for Domain Controller promotion failed. A NetBIOS domain name must be specified.
    + CategoryInfo         …

Read more

10 blog posts

Blog Search

Page Views

12056481

Follow me on Blogarama