IaC Practice
CtrlK
Powershell
Powershell
  • Introduction
    • History
    • Design
    • Using Powershell
    • Execution Policy
    • PowerShell Gallery
  • Install PowerShell 7
    • Visual Studio Code
    • Tests
    • Finally
  • Coding in PowerShell
    • Creating a module
    • Variables
      • Example
    • Types
    • Conditional Branching
      • if and elseif
      • Switch
    • Loops
      • For loop
      • ForEach
      • While
      • Do Until
    • Piping Commands
  • Remote Control
    • Remoting
    • Build
      • DHCP
    • Creating Users
  • Configuration at Scale
    • Desired State Configuration
    • DSC Example
    • MOF File
    • Apply the Configuration
    • Testing
    • Remove the Configuration
    • Finally
Powered by GitBook
On this page
  1. Configuration at Scale

Apply the Configuration

To apply the configuration, I run the command

Start-DscConfiguration -Path C:\PowerShell\WT4\DscConfiguration -Verbose -Wait -Force
PreviousMOF FileNextTesting

Last updated 1 year ago