title: Getting the user's Documents folder in Powershell
body: <p>I want to use a PowerShell script to automate tasks related to the user when the user logs in.</p>
  
  <p>Sometimes a user will have moved his Documents folder from the default location.  How can I determine the location of the user's Documents folder in PowerShell?</p>