Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $username = "my email-address"
- $password = "my password"
- $cred = New-Object -TypeName System.Management.Automation.PSCredential -argumentlist $userName, $(convertto-securestring $Password -asplaintext -force)
- Connect-SPOService -Url https://mydomain-admin.sharepoint.com -Credential $cred
Add Comment
Please, Sign In to add comment