function

If a script is basically a function then you need to add it to the “function drive” on the computer before you can execute it. So running functionscript.ps1 will do nothing.

To add a function script to the function drive run the following command:

. c:\path\to\script.ps1

NOTE THE SPACE BETWEEN THE PERIOD AND C:\

Then just execute the function as normal.


Last modified January 27, 2025: Delete cloud-adoption-framework.md (1a91b0a)