title: Write to Profile File After Installing PowerShell Module with PowerShellGet
body: <p>I have a custom PowerShell module with two cmdlets. I have it successfully, but manually, deployed on my machine. However, I deployed it by placing the binary file and module manifest in a location, and then registering the module. I also had to manually write an <code>Import-Module</code> command into my 'all users' profile.</p>
  
  <p>Now I am sure I can deploy this module with <code>Publish-Module</code>, but how do I get the <code>Install-Module</code> to write the <code>Import-Module</code> statement to the profile file?</p>