Unexpected token ‘configuration’ in expression or statement.
At line:5 char:1
{
~
Missing closing ‘}’ in statement block.
At line:3 char:1
{
~
Missing closing ‘}’ in statement block.
At line:6 char:1
Settings
Undefined DSC resource ‘Settings’. Use Import-DSCResource to import the resource.
At line:14 char:1
ConfigurationRepositoryWeb DSC-Pull
Undefined DSC resource ‘ConfigurationRepositoryWeb’. Use Import-DSCResource to import the resource.
ReportServerWeb : The term ‘ReportServerWeb’ is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.
At line:1 char:1
Undefined DSC resource ‘Settings’. Use Import-DSCResource to import the resource.
I was able to get it to work on my workstation yet I have to now figure out this. Winrm is enabled, test-wsman works, 8080 is open and I can browse to the site through chrome.
The client cannot connect to the destination specified in the request. Verify that the service on the destination is running and is accepting requests. Consult the logs and documentation for the WS-Management service running
destination, most commonly IIS or WinRM. If the destination is the WinRM service, run the following command on the destination to analyze and configure the WinRM service: “winrm quickconfig”.
+ CategoryInfo : ConnectionError: (root/Microsoft/…gurationManager:String) , CimException
Thanks for your help. I got it by installing wmf 5.1, deleting the site and starting over supplying wwwroot where the MS example didn’t have it. I now see yellow!
Now on to figuring out how to setup the reporting portion.
I didn’t follow the thread or result completely, but if you’re trying to define settings for an LCM, you do need the
[DSCLocalConfigurationManager()]
declaration. That is how it knows to generate a meta-mof instead of a real MOF. Also (as you saw) the settings keyword isn’t available in a regular configuration, only in an LCM configuration.