LoadingFunctions

The function files are to be placed in SALADROOT.scripts and the environment is to import all the functions.
One function is written in one file, one file has one function.
File name is equal to the function name.

ex)
filename:
ROOT\scripts\wrapunits\Get-MyFunc.ps1
function global:Get-MyFunc()
#VISIBILITY:public
{
    Write-Host "this is my function.";
}

Last edited Mar 2, 2013 at 1:13 PM by Tom__S, version 5

Comments

No comments yet.