Skip to content

Commit f06fbbf

Browse files
authored
Added two new examples to related to Teams
Added examples that highlight and use two new site properties related to Teams and Channels.
1 parent 30db224 commit f06fbbf

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

sharepoint/sharepoint-ps/sharepoint-online/Get-SPOSite.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,22 @@ Get-SPOSite -Filter { Url -like "contoso.sharepoint.com/sites/18" }
121121

122122
This example uses server side filtering to return sites matching 18.
123123

124+
### -----------------------EXAMPLE 8-----------------------------
125+
126+
```powershell
127+
Get-SPOSite -Limit ALL | ?{$_.IsTeamsConnected -eq $true}
128+
```
129+
130+
This example uses client-side filtering to return a list of sites connected to Microsoft Teams.
131+
132+
### -----------------------EXAMPLE 9-----------------------------
133+
134+
```powershell
135+
Get-SPOSite -Limit ALL | ?{$_.IsTeamsChannelConnected -eq $true}
136+
```
137+
138+
This example uses client-side filtering to return a list of sites connected to a Microsoft Teams Private or Shared channel.
139+
124140
## PARAMETERS
125141

126142
### -Detailed

0 commit comments

Comments
 (0)