Skip to content

ex06-module #2

@ITCTOM

Description

@ITCTOM

this isn´t working.

  • the public function files have diffrent names then the functions so you cant export those functions with export-modulemember -function $_.basename. Please renamre the .ps1 files so that they match the function name.

  • the private functions are not imported in the current shell so you have to dotsource the private .ps1 files in your script that calls that functions.

  • you are not able to call a private function "Get-MyDemoMessage" outside of your module in MyScript_callingModule.ps1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions