32 or 64 bit version of product: 64bit
Operating system: Windows 10
32 or 64 bit OS: 64bit
I have read the forum posts, on
Importing PS Module into Project:
viewtopic.php?f=18&t=12127&p=65332&hili ... exe#p65332
I am unclear on how to follow the steps suggested by JVierra.
I have a psf file that imports from a parallel folder on the company share:
- $Script:ModuleFolder = Join-Path -Path $PSScriptRoot -ChildPath '..\Modules'
- Import-Module -Name (Join-Path -Path $ModuleFolder -ChildPath 'DateTimeTools') -Global
My share has the folders
Tools
Modules
Executables
My psf file is in the Tools folder,
my modules are in the Modules folder,
my exe is in the Executables folder.
I did not create a project for this, as I want to avoid having duplicate copies of my locally-developed modules.
Thanks in advance for any advice/clarifications.