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 : "dsc"
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 …
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…
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…
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…
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 …
Blog Search
Page Views
12056481
Archive
- September 2024 (12)
- August 2024 (22)
- July 2024 (11)
- June 2024 (1)
- May 2024 (3)
- April 2024 (5)
- November 2023 (1)
- September 2023 (6)
- July 2023 (15)
- June 2023 (5)
Comments
-
NeoModJuly 30, 2024 11:14PM
-
RogerJuly 22, 2024 10:13PM
-
DonJune 28, 2024 11:29PM
-
visamanxJune 25, 2024 01:30AM
-
AdamJune 14, 2024 01:37AM