That is why you need to do the dot-sourcing of the .ps1 file that contains the function definition first.
Like I said that way PowerShell "knows" the function.
Once the function is known, you can call it.
That is why you need to do the dot-sourcing of the .ps1 file that contains the function definition first.
Like I said that way PowerShell "knows" the function.
Once the function is known, you can call it.