Export class from module

This topic contains 2 replies, has 3 voices, and was last updated by Profile photo of Toru Koido Toru Koido 1 year, 3 months ago.

  • Author
  • #30031
    Profile photo of Adam Weigert
    Adam Weigert

    Is it possible to export a PSv5 class from a module like we can with functions?

  • #30034
    Profile photo of Don Jones
    Don Jones

    Not in the current release.

  • #37339
    Profile photo of Toru Koido
    Toru Koido

    Use "using module .\MyClass.psm1"

You must be logged in to reply to this topic.