Export class from module

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

  • Author
    Posts
  • #30031

    Adam Weigert
    Participant

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

  • #30034

    Don Jones
    Keymaster

    Not in the current release.

  • #37339

    Toru Koido
    Participant

    Use "using module .\MyClass.psm1"

You must be logged in to reply to this topic.