SharePoint, Office 365, Azure, and Front end JS geek. – Chicago IL
SharePoint, Office 365, Azure, and Front end JS geek. – Chicago IL

Launch IE as multiple users for testing

When testing role based security, it can be helpful to right click IE and “Run as different user.”   The below PowerShell script automates this process to make it easier to launch multiple IE windows for testing.   Keeping a copy on Windows 7/8 workstations can help users jump into testing easily and with fewer password typo lockouts.    If you find this helpful, please leave a comment. 

Smile

 

 

Here is a screenshot of the script in action.

1
  • davidlozzi

    This is awesome, ah, I can’t wait to use it! Such a frustration, especially with SP2013… Wish I thought of this sooner 😉 Great job!

    • Thanks David! Yup, I find it helpful to keep a desktop shortcut for this. Scales up nicely on large monitors too (ex: 8+ users)

  • Eric Skaggs

    It looks like this will work ok if the my machine is on the same domain as the users that are trying to run IE. Is it possible for it to work with users on a different domain? For example, I’m a consultant and my machine is on domain “MYCOMPANYDOMAIN” but the test user accounts are on the client’s domain of “CLIENTDOMAIN.” I’d really like to have this fire up the client’s SharePoint environment, and automatically “Sign in as different user” for each of the test user accounts.

  • SunnySoCal

    Great script, worked perfect for my companies intranet site which requires different accounts for different areas of the site. Thank you!!

    • Awesome! Glad you found it helpful. Thanks for the comment. =)

© Copyright 2016
@ SPJeff

Return to Top ▲Return to Top ▲