title: Is it possible for Invoke-WebRequest to transparently authenticate with the user credentials of the user running the script?
body: <p>I've got a script that basically creates a user account on a number of systems, including Active Directory, and an IIS webserver that authenticates against that same Active Directory Domain.</p>
  
  <p>Right now, if I just do my <code>Invoke-WebRequest</code> without specifying credentials, I get a 401 error, and if I use the credential switch, I have to specify or prompt for credentials.  However, when it creates the Active Directory account, PowerShell is smart enough to uses the credentials of the user running the script to create the account, without having to specify or prompt for credentials.</p>
  
  <p>Is it possible to do this same thing with <code>Invoke-WebRequest</code>?</p>