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?
I had the same problem and it worked when I run powershell as admin
Run Powershell as admin.