< Back

Add-OMPAutoLoadModule

Sat Jan 18, 2020 5:40 pm

NAME Add-OMPAutoLoadModule



SYNOPSIS

Adds a module to be autoloaded when OMP starts up.





SYNTAX

Add-OMPAutoLoadModule [-Name] <String> [[-NoProfileUpdate]] [<CommonParameters>]





DESCRIPTION

Adds a module to be autoloaded when OMP starts up.





PARAMETERS

-Name <String>

Name of the module



Required? true

Position? 1

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-NoProfileUpdate [<SwitchParameter>]

Skip updating the profile



Required? false

Position? 2

Default value False

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



NOTES





Author: Zachary Loeber



-------------------------- EXAMPLE 1 --------------------------



Add-OMPAutoLoadModule -Name 'posh-git'



Adds posh-git to the list of modules that will be loaded with OhMyPsh for this user.



RELATED LINKS

https://github.com/zloeber/ohmypsh https://github.com/zloeber/ohmypsh