Error while consuming 'xWebAdministration' Module

Welcome Forums DSC (Desired State Configuration) Error while consuming 'xWebAdministration' Module

This topic contains 1 reply, has 2 voices, and was last updated by

3 years, 8 months ago.

  • Author
  • #25050

    Points: 0
    Rank: Member

    While consuming 'xWebAdministration' module getting below error this module was imported to 'C:\Program Files\WindowsPowerShell\Modules' folder.

    The PowerShell DSC resource xWebAdministration does not exist at the PowerShell module path nor is it registered as a WMI DSC resource.
    CategoryInfo :InvalidOperation: [root/Microsoft/...gurationManager:String] [], CimException
    FullyQualifiedErrorId :DscResourceNotFound

    But there is no issue while importing to 'C:\windows\system32\WindowsPowerShell\v1.0\Modules'.

    Not sure why its throwing error while consuming this module which was imported to 'C:\Program Files\WindowsPowerShell\Modules\'. Please help us to understand it and do let us know recommended approach for importing module.

  • #25051

    Points: 0
    Rank: Member

    What's in your configuration script at the moment? xWebAdministration isn't a DSC resource, it's the module that contains the resources, which makes that error seem a bit weird.

    Also, are you using an MSDN copy of Windows Server for this? If so, make sure KB2883200 is installed.

The topic ‘Error while consuming 'xWebAdministration' Module’ is closed to new replies.