How do I debug/troubleshoot class based module?

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

  • Author
  • #38397


    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?


You must be logged in to reply to this topic.