On a Windows Server 2012 R2 Virtual Machine, I am trying to run a Powershell DSC script:
Configuration Test {
Node "localhost"
{
WindowsFeature WASDotNet3
{
Ensure = "Present"
Name = "WAS-NET-Environment"
}
}
}
Test -OutputPath 'D:\PSMofFiles' Start-DscConfiguration -Wait -Verbose -Path 'D:\PSMofFiles'
When I run this script, I get the following error:
Directory: D:\PSMofFiles
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a--- 5/20/2014 8:55 AM 1218 localhost.mof
VERBOSE: Perform operation 'Invoke CimMethod' with following parameters, ''methodName' = SendConfigurationApply,'className' = MSFT_DSCLocalConfigurationManager,'namespace
Name' = root/Microsoft/Windows/DesiredStateConfiguration'.
Buffer is not supported. Check encoding and length of the buffer
+ CategoryInfo : InvalidArgument: (root/Microsoft/...gurationManager:String) [], CimException
+ FullyQualifiedErrorId : MiClientApiError_Failed
+ PSComputerName : localhost
VERBOSE: Operation 'Invoke CimMethod' complete. VERBOSE: Time taken for configuration job to complete is 0.19 seconds
PS C:\Windows\system32>
Would anyone know what is causing this? Also, it doesn't matter what DSC script I run. It can be any DSC script and I get the exact same error message.