PowerTip: Apply PowerShell 3.0 DSC Configuration

Doctor Scripto

Dr Scripto

Summary: Learn how to apply a Windows PowerShell 4.0 DSC MOF file.

Hey, Scripting Guy! Question How can I apply a Windows PowerShell 4.0 DSC MOF file to a computer?

Hey, Scripting Guy! Answer Use the Start-DSCConfiguration cmdlet and specify the path
          to the folder that contains the MOF files, for example:

Start-DscConfiguration –Verbose -Wait -Path "C:\Windows\system32\temp"

Doctor Scripto
Dr Scripto

Scripter, PowerShell, vbScript, BAT, CMD

Follow Dr Scripto   

0 comments

    Leave a comment