Skip to content

Commit d1ae3a6

Browse files
authored
Removed Example 4 and Username
Removed Example 4 and Username
1 parent fe0877a commit d1ae3a6

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

skype/skype-ps/skype/New-CsOnlineSession.md

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -60,34 +60,8 @@ Import-PSSession $sfbSession
6060

6161
Establishes a Skype for Business Online Remote PowerShell session using multi-factor authentication, for more information, see [Connect using a Skype for Business Online administrator account with multi-factor authentication](https://docs.microsoft.com/office365/enterprise/powershell/manage-skype-for-business-online-with-office-365-powershell#connect-using-a-skype-for-business-online-administrator-account-with-multi-factor-authentication).
6262

63-
### EXAMPLE 4
64-
```
65-
Import-Module MicrosoftTeams
66-
Connect-MicrosoftTeams
67-
$sfbSession = New-CsOnlineSession
68-
Import-PSSession $sfbSession
69-
```
70-
71-
Connects an authenticated account to use for Microsoft Teams cmdlet requests, then establishes a Skype for Business Online Remote PowerShell session using the same credentials.
72-
7363
## PARAMETERS
7464

75-
### -UserName
76-
Specifies the Skype for Business Online administrator account name to be used when prompting for credentials.
77-
Please Note: UserName has been deprecated and is not available in the Teams Powershell module. Please use the Credential parameter to provide username and password.
78-
79-
```yaml
80-
Type: String
81-
Parameter Sets: UserName
82-
Aliases:
83-
84-
Required: False
85-
Position: 1
86-
Default value: None
87-
Accept pipeline input: False
88-
Accept wildcard characters: False
89-
```
90-
9165
### -Credential
9266
Specifies a Skype for Business Online administrator, or Syndicated Partner administrator account.
9367

0 commit comments

Comments
 (0)