title: Powershell logon script, is it possible to show dialog to user or read some user input?
body: <p>So is it possible ? </p>
  
  <p>I need to get some user credential to map certain network share. This share is not part of our domain and each user have different credentials.</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>The script works fine if I run it from powershell console. 
  Problem is that it doesn't show any promp or dialgo when I use it as a login script. When I log into desktop, the script starts, because it writes an debug log, but it doesn't show any dialog or promt user for input.</p>