Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login
    1. Home
    2. PhilippeC.
    3. Best

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    P Offline
    • Profile
    • Following 1
    • Followers 0
    • Topics 52
    • Posts 95
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Ensure-DscResource and DSC Resource with embedded subclass

      Hello

      Here is two exemple :

      1. one with Carbon module (http://get-carbon.org)
      2. One wit h xSmbshare (From Pwershll Gallery)
        I assumed you have install the module
      Ensure-DscResource
             (
                 ConfigurationKey: Identity,
                 Name: Carbon_Permission,
                 Module: Carbon,
                 Properties: %(Path:$DFSFolder,Identity:$Mydomain\$MyGroup,Permission:FullControl)
             );
      
      
      Ensure-DscResource
         (
             Name: xSmbShare,
             Module: xSmbShare,
             Properties: %(Name:$ShareFolder,Path:$FoldertoShare,ReadAccess:$Mydomain\$MyGroup,FolderEnumerationMode:AccessBased,CachingMode:None)
         );
      

      The Carbon example use as ConfigurationKey the property Identity while in the xSmbShare, the configuraitonKey is the default property (ie, Name)

      I hope to not make a mistake and it will be useful.

      Best Regards
      PhilippeC.

      posted in Support
      P
      PhilippeC.
    • 1 / 1