Skip to content

Commit c50faa9

Browse files
authored
Merge pull request MicrosoftDocs#152 from akost/patch-1
Fixes new lines in Connect-SPOService.md / Example 2
2 parents 7e222bb + fa4be26 commit c50faa9

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

sharepoint/sharepoint-ps/sharepoint-online/Connect-SPOService.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,12 @@ Example 1 shows how a SharePoint Online global administrator with credential adm
5252

5353
### -----------------------EXAMPLE 2-----------------------------
5454
```
55-
$username = "[email protected]"$password = "password"$cred = New-Object -TypeName System.Management.Automation.PSCredential -argumentlist $userName, $(convertto-securestring $Password -asplaintext -force)Connect-SPOService -Url http://contoso-admin.sharepoint.com/ -Credential $cred
55+
$username = "[email protected]"
56+
$password = "password"
57+
$cred = New-Object -TypeName System.Management.Automation.PSCredential -argumentlist $userName, $(convertto-securestring $Password -asplaintext -force)
58+
Connect-SPOService -Url http://contoso-admin.sharepoint.com/ -Credential $cred
5659
```
57-
Example 2 shows how a SharePoint Online global administrator with a user name and password connects to a SharePoint Online Administration Center that has the URL http://contoso-admin.sharepoint.com/.
60+
Example 2 shows how a SharePoint Online global administrator with a username and password connects to a SharePoint Online Administration Center that has the URL http://contoso-admin.sharepoint.com/.
5861

5962

6063
## PARAMETERS

0 commit comments

Comments
 (0)