Desired State ConfigurationWindows PowerShell

Start-DSCConfiguration WMF 5.0 Multiple Nodes Issue

I am one among the many beginners in PowerShell Desired State Configuration. Recently I saw the TechNet Forum Post so thought of sharing my experience


The WinRM client cannot process the request. The object contains an unrecognized argument: “JobId”. Verify that the spelling of the argument name is
    + CategoryInfo          : MetadataError: (root/Microsoft/…gurationManager:String) [], CimException
    + FullyQualifiedErrorId : HRESULT 0x803381e1
    + PSComputerName        : DSC2

How to Produce this in WMF 5.0?
Configuration DesiredStateConfigurationDemo
    Import-DscResource -ModuleName xWindowsUpdate
    Node $computerName
        xHotFix InstallWMF5
            Path = '\\DSC1\C$\DSCShare\Updates\Some.MSU'
            Id = 'KBsomeid'
            Ensure = 'Present'

DesiredStateConfigurationDemo -ComputerName DSC1 , DSC2
Start-DSCConfiguration .\DesiredStateConfigurationDemo -wait -verbose -force

In middle of demo I couldn’t think about anything else. Since few of my clients were eager to get advantages of DSC – So, I just applied configuration using below code – Our Own PowerShell 🙂

'DSC1' , 'DSC2' | %{Start-DSCConfiguration .\DesiredStateConfigurationDemo -ComputerName $_ -wait -verbose -force}



Leave a Reply

Your email address will not be published. Required fields are marked *