title: Unelevate PowerShell Session
body: <p>I have a PowerShell script that runs as Administrator, and another script it calls that needs to <em>not</em> run as Administrator.  I've used <code>Start-Process -FilePath "powershell.exe" -Verb runas</code> to elevate before, but how might I "unelevate" from a session already running as administrator?</p>
  
  <p>I want to avoid third-party tools like <code>psexec</code> that <a href="https://stackoverflow.com/questions/31449633/how-can-i-make-powershell-run-a-program-as-a-standard-user">this post</a> uses.  Ideally looking for a build-in PS function or PSSnapin.</p>
  
  <p>The specific process requiring this "unelevated" session is seeing drives mounted by an administrator.  According to this <a href="https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/ee844140(v%3dws.10)" rel="nofollow noreferrer">article</a> UAC is the likely culprit.  The solution proposed was running the following:
   <code>New-ItemProperty -Path HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System -Name EnableLinkedConnections -Value 1 -PropertyType DWord</code></p>
  
  <p>However, the drives still do not show up when <code>Get-PSDrive</code> runs in an elevated session.</p>