How do I debug/troubleshoot class based module?

Welcome Forums DSC (Desired State Configuration) How do I debug/troubleshoot class based module?

This topic contains 0 replies, has 1 voice, and was last updated by  GS 2 years, 7 months ago.

  • Author
    Posts
  • #38397
    GS

    Participant
    Points: 12
    Rank: Member

    My class based module has boiler plate Get();Set();Test() functions while actual logic implemented in private functions within module. For PS Modules I usually dotsource module files and then use "Export-Module" cmdlet which allows to invoke individual functions separately from module. I assume anything like that is impossible with class based resources because no dot sourcing is available. How do I effectively call individual helper functions, otherwise?

    Thanks,
    G

The topic ‘How do I debug/troubleshoot class based module?’ is closed to new replies.