Powershell is really testing my patience today... Ok, so I made a manifest to get my required assemblies. Now how do I properly import when I have a *.psm1 and *.psd1 file.
folder path: C:\mypath\blah\blah\Module\Format-XML\
files in folder: Format-XML.psd1, Format-XML.psm1
Import-Module -Name "C:\mypath\blah\blah\Module\Format-XML\Format-XML"
Then when I got to use my function in my module called from another script, for whatever reason, doesn't exist/work. What am I doing wrong?
[ERROR] VERB-NOUN: The term 'VERB-NOUN' is not recognized as the name of a
[ERROR] cmdlet, function, script file, or operable program. Check the spelling of the
[ERROR] name, or if a path was included, verify that the path is correct and try again.
In the *.psd1:
FunctionsToExport = '*'
In the *.psm1:
#I know... not required but I tried anyways... :(
Export-ModuleMember -Function '*'