Make modules and cmdlets available for current script
The ability to package a script with the cmdlets and modules used to make that script.
The ability to put a cmdlet at the start of the script such as:
Then as a module is imported or a cmdlet is used, the script will include the modules and cmdlets in some file that allows an admin to deploy the script to other workstations and the script is able to include the modules and cmdlets on older versions that may not have the cmdlets or modules included.
This would help avoid older versions from not working because the cmdlets used have changed or they simply weren't in the older versions.