Like we saw in the previous recipes, these changes are ephemeral; they remain as long as the session is active. There might be situations wherein administrators might require running a few commands, or loading modules to enable them to work faster. For instance, I tend to load a series of modules that help me manage Microsoft Exchange, Active Directory, VMware vSphere infrastructure, Citrix XenApp, Microsoft System Center, and other environments using PowerShell.
If you see, all of these products require different ways of loading the modules, snap-ins and scripts, and many of them require certain configuration every time you load the modules (such as connecting to VM servers with administrator credentials). These can be done using the PowerShell profile.