5 responses to “PowerShell Modules”

  1. Bruce Payette

    Hi Jay

    Here are some quick notes on your post.

    Yes, modules are the new snapins (though the snapin mechanism will remain for backwards compatibility.) We intend to support xcopy install of PowerShell extensions, either script or dlls.

    BTW – the default package path also includes $PSHOME/packages/ (i.e. there are user and system package directories)

    The module implementation is not complete in CTP2. This is why remove doesn’t do what you expect. Also, we’re planning to just use the term “module” in the final product instead of modules and packages.)

    If Export-ModuleMember is not used in a module, then by default all functions are exported from the script.

    If Export-ModuleMember is used at the top level of a session, then it will constrain the top level. In other words, after running Export-Module member, the only functions you can use are the ones you exported. (Cmdlets are currently not constrained by this mechanism.) We will be adding additional support to allow you to also control aliases and variable exports.

    -bruce

  2. karl prosser

    good article joel

  3. The PowerShell Guy : PowerTab for PowerShell V2 Alpha testers wanted

    [...] for the rest as it is a Module now  the installation is very simple, follow Jaykul’s excellent intro here : PowerShell Modules [...]