Preload your favorite scripts in PowerShell
Try this - if you have developed many useful scripts for yourself, how to avoid call Import-Module in all your new script? To solve this, we must find a way to preload your favorites. The trick is to create "profile.ps1" file and save it in your profile path. You will find your profile path by executing the following code: $profile.CurrentUserAllHosts After you have found out the path, create a "profile.ps1" and write all Import-Module lines to preload your favorites.