Win2012 R2 not seeing custom resources

Welcome Forums DSC (Desired State Configuration) Win2012 R2 not seeing custom resources

This topic contains 3 replies, has 3 voices, and was last updated by

3 years, 3 months ago.

  • Author
  • #34601

    Topics: 58
    Replies: 89
    Points: 3
    Rank: Member

    I do not know if I have done this the proper way....but I have downloaded the DSC Custom resources off my windows 10 client as that has got PowershellGet. I can see that it has downloaded them to c:\program files\windowspowershell\modules...

    I then copy that directory to my Windows 2012 R2 server c:\program files\windows powershell\modules but Windows 2012 R2 cannot pick it up and says it cannot see the module there....what gives?

    Any help most appreciated. I can't wait to try these resources out.

  • #34602

    Topics: 13
    Replies: 4872
    Points: 1,811
    Helping HandTeam Member
    Rank: Community Hero

    Have you installed v5 on the server?

  • #34603

    Topics: 9
    Replies: 2322
    Points: 0
    Rank: Member

    On your Windows 10 system (or anywhere with PowerShell v5 and PowerShellGet, as far as I know), modules get installed into a version-specific subfolder, for example: C:\Program Files\WindowsPowershell\Modules\ModuleName\1.0.0\

    Older version of PowerShell don't support that folder structure; you'd need to move the contents of 1.0.0 (or whatever it is) up into the ModuleName folder.

  • #34604

    Topics: 58
    Replies: 89
    Points: 3
    Rank: Member

    @DaveWyatt is've saved me with the operator in my last post and now this one...

    @DonJones Sorry about that...I should have said I was using 4.0 PS 5.0 RTM is pulled off for now as MS has some bugs to stamp out with the $PSModule (i think)...every few you are in my ears teaching to me about the shell

    Send me privately both your PO Box I will send you a little something from New Zealand. =)

The topic ‘Win2012 R2 not seeing custom resources’ is closed to new replies.

denizli escort samsun escort muğla escort ataşehir escort kuşadası escort