Logging to Office 365


Hi. I'm totally new to Powershell and I've just stumbled on a problem. When trying to log in "$UserCredential = Get-Credential" I keep getting "cmdlet Get-Credential at command pipeline position 1". What can be the reason?

  • tdknight 5/25/2017, 11:29:10 AM

    I had the same problem and it worked when I run powershell as admin

Add comment

Choose authorization option

Log in

If you have an account on CentrumXP this option will be best for you.

Log in
Join community

Our registered users have extra privileges like adding questions, commenting, and voting.


Answer: 1

Run Powershell as admin.

3 years ago
3 years ago
  • Bobo123 8/8/2017, 3:11:18 PM

    it works

Add comment