Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
4b78f9b
Update Get-CsTeamsWorkLocationDetectionPolicy.md and New-CsTeamsWorkL…
annakrajuskina Jan 24, 2025
1df89e7
Update Remove-CsTeamsWorkLocationDetectionPolicy.md (#3)
annakrajuskina Jan 24, 2025
d82708d
Update Grant-CsTeamsWorkLocationDetectionPolicy.md (#4)
annakrajuskina Jan 27, 2025
b666811
switch 'upn' to 'email'
michelle-paradis Jan 28, 2025
2c8d944
Fix formatting of User email example
michelle-paradis Jan 28, 2025
6255778
Clarify user email address format
michelle-paradis Jan 28, 2025
e603643
Update index.yml
michelle-paradis Jan 28, 2025
7ab6aa8
Add ms.subservice field to index.yml
michelle-paradis Jan 29, 2025
edfed31
Merge branch 'main' into patch-3
michelle-paradis Jan 29, 2025
d88ed49
Added missing title property 3
chrisda Jan 30, 2025
4722ad7
Merge branch 'main' into chrisda2
chrisda Jan 30, 2025
c443abf
Merge branch 'main' into patch-3
michelle-paradis Jan 30, 2025
0fe87fa
note formatting
Ruchika-mittal01 Jan 30, 2025
4127a3a
Merge branch 'main' into chrisda2
chrisda Jan 30, 2025
fd71b0e
Merge branch 'main' into main
padmagit77 Jan 30, 2025
505a975
Merge pull request #12477 from michelle-paradis/patch-3
Ruchika-mittal01 Jan 30, 2025
dee776d
Merge branch 'main' into chrisda2
chrisda Jan 30, 2025
52359ce
Added missing title and online version properties
chrisda Jan 30, 2025
ace9a4c
Merge pull request #12494 from MicrosoftDocs/chrisda2
chrisda Jan 30, 2025
926f06b
Merge branch 'main' into chrisda
chrisda Jan 30, 2025
d273112
Merge pull request #12497 from MicrosoftDocs/chrisda
chrisda Jan 30, 2025
1772d25
Merge branch 'main' into main
padmagit77 Jan 30, 2025
dc2d4b7
Merge pull request #12476 from annakrajuskina/main
padmagit77 Jan 30, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
external help file: Microsoft.Teams.Policy.Administration.Cmdlets.Core.dll-Help.xml
Module Name: MicrosoftTeams
online version: https://learn.microsoft.com/powershell/module/teams/Get-CsTeamsFirstPartyMeetingTemplateConfiguration
title: Get-CsTeamsFirstPartyMeetingTemplateConfiguration
schema: 2.0.0
author: boboPD
ms.author: pradas
online version: https://learn.microsoft.com/powershell/module/teams/Get-CsTeamsFirstPartyMeetingTemplateConfiguration
schema: 2.0.0
---

# Get-CsTeamsFirstPartyMeetingTemplateConfiguration
Expand Down
3 changes: 2 additions & 1 deletion teams/teams-ps/teams/Get-CsTeamsGuestCallingConfiguration.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
---
external help file: Microsoft.Rtc.Management.Hosted.dll-help.xml
online version: https://learn.microsoft.com/powershell/module/teams/get-csteamsguestcallingconfiguration
Module Name: MicrosoftTeams
title: Get-CsTeamsGuestCallingConfiguration
schema: 2.0.0
manager: bulenteg
author: tomkau
ms.author: tomkau
manager: bulenteg
ms.reviewer:
---

Expand Down
12 changes: 6 additions & 6 deletions teams/teams-ps/teams/Get-CsTeamsWorkLocationDetectionPolicy.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,19 +40,19 @@ PS C:\> Get-CsTeamsWorkLocationDetectionPolicy
Identity EnableWorkLocationDetection
-------- ----------------------
Global False
Tag:wld-enabled True
Tag:wld-disabled False
Tag:wld-policy1 True
Tag:wld-policy2 False
```
Fetches all the policy instances currently available.

### Example 2
```powershell
PS C:\> Get-CsTeamsWorkLocationDetectionPolicy -Identity wld-enabled
PS C:\> Get-CsTeamsWorkLocationDetectionPolicy -Identity wld-policy1
```
```output
Identity EnableWorkLocationDetection
-------- ----------------------
Tag:wld-enabled True
Tag:wld-policy1 True
```
Fetches an instance of a policy with a known identity.

Expand All @@ -63,8 +63,8 @@ PS C:\> Get-CsTeamsWorkLocationDetectionPolicy -Filter *wld*
```output
Identity EnableWorkLocationDetection
-------- ----------------------
Tag:wld-enabled True
Tag:wld-disabled False
Tag:wld-policy1 True
Tag:wld-policy2 False
```
The `Filter` parameter can be used to fetch policy instances based on partial matches on Identity.

Expand Down
5 changes: 3 additions & 2 deletions teams/teams-ps/teams/Get-CsTenantBlockedCallingNumbers.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
---
external help file: Microsoft.Rtc.Management.Hosted.dll-help.xml
applicable: Microsoft Teams
online version: https://learn.microsoft.com/powershell/module/teams/get-cstenantblockedcallingnumbers
title: Get-CsTenantBlockedCallingNumbers
applicable: Microsoft Teams
schema: 2.0.0
manager: roykuntz
author: serdarsoysal
ms.author: serdars
manager: roykuntz
---

# Get-CsTenantBlockedCallingNumbers
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,28 +47,28 @@ Passes in the `Identity` of the policy instance in the `PolicyName` parameter an

### Example 1
```powershell
PS C:\> Grant-CsTeamsWorkLocationDetectionPolicy -PolicyName sms-enabled -Identity [email protected]
PS C:\> Grant-CsTeamsWorkLocationDetectionPolicy -PolicyName sms-policy -Identity [email protected]
```

Assigns a given policy to a user.

### Example 2
```powershell
PS C:\> Grant-CsTeamsWorkLocationDetectionPolicy -Group f13d6c9d-ce76-422c-af78-b6018b4d9c80 -PolicyName wld-enabled
PS C:\> Grant-CsTeamsWorkLocationDetectionPolicy -Group f13d6c9d-ce76-422c-af78-b6018b4d9c80 -PolicyName wld-policy
```

Assigns a given policy to a group.

### Example 3
```powershell
PS C:\> Grant-CsTeamsWorkLocationDetectionPolicy -Global -PolicyName wld-enabled
PS C:\> Grant-CsTeamsWorkLocationDetectionPolicy -Global -PolicyName wld-policy
```

Assigns a given policy to the tenant.

### Example 3
```powershell
PS C:\> Grant-CsTeamsWorkLocationDetectionPolicy -Global -PolicyName wld-enabled
PS C:\> Grant-CsTeamsWorkLocationDetectionPolicy -Global -PolicyName wld-policy
```

Note: _Using $null in place of a policy name can be used to unassigned a policy instance._
Expand Down
10 changes: 5 additions & 5 deletions teams/teams-ps/teams/New-CsTeamsWorkLocationDetectionPolicy.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,25 +29,25 @@ This gives users the ability to consent to the use of this location data to set

### Example 1
```powershell
PS C:\> New-CsTeamsWorkLocationDetectionPolicy -Identity wld-enabled -EnableWorkLocationDetection $true
PS C:\> New-CsTeamsWorkLocationDetectionPolicy -Identity wld-policy -EnableWorkLocationDetection $true
```
```output
Identity EnableWorkLocationDetection
-------- ----------------------
Tag:wld-enabled True
Tag:wld-policy True
```
Creates a new policy instance with the identity wld-enabled. `EnableWorkLocationDetection` is set to the value specified in the command.

### Example 2
```powershell
PS C:\> New-CsTeamsWorkLocationDetectionPolicy -Identity wld-disable
PS C:\> New-CsTeamsWorkLocationDetectionPolicy -Identity wld-policy
```
```output
Identity EnableWorkLocationDetection
-------- ----------------------
Tag:wld-disable False
Tag:wld-policy False
```
Creates a new policy instance with the identity wld-disable. `EnableWorkLocationDetection` will default to false if it is not specified.
Creates a new policy instance with the identity wld-policy. `EnableWorkLocationDetection` will default to false if it is not specified.

## PARAMETERS

Expand Down
1 change: 1 addition & 0 deletions teams/teams-ps/teams/Remove-CsTeamsShiftsPolicy.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
external help file: Microsoft.TeamsCmdlets.PowerShell.Custom.dll-Help.xml
Module Name: MicrosoftTeams
online version: https://learn.microsoft.com/powershell/module/teams/remove-teamsshiftspolicy
title: Remove-CsTeamsShiftsPolicy
schema: 2.0.0
---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
external help file: MicrosoftTeams-help.xml
Module Name: MicrosoftTeams
online version: https://learn.microsoft.com/powershell/module/teams/remove-csteamssurvivablebranchappliance
title: Remove-CsTeamsSurvivableBranchAppliance
schema: 2.0.0
---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
external help file: MicrosoftTeams-help.xml
Module Name: MicrosoftTeams
online version: https://learn.microsoft.com/powershell/module/teams/remove-csteamssurvivablebranchappliancepolicy
title: Remove-CsTeamsSurvivableBranchAppliancePolicy
schema: 2.0.0
---

Expand Down
1 change: 1 addition & 0 deletions teams/teams-ps/teams/Remove-CsTeamsTargetingPolicy.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
external help file: MicrosoftTeams-help.xml
Module Name: MicrosoftTeams
online version: https://learn.microsoft.com/powershell/module/teams/remove-csteamstargetingpolicy
title: Remove-CsTeamsTargetingPolicy
schema: 2.0.0
---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ external help file: Microsoft.Open.Teams.CommonLibrary.dll-Help.xml
Module Name: MicrosoftTeams
online version: https://learn.microsoft.com/powershell/module/teams/remove-csteamsunassignednumbertreatment
applicable: Microsoft Teams
title: Remove-CsTeamsUnassignedNumberTreatment
schema: 2.0.0
author: serdarsoysal
ms.author: serdars
ms.reviewer:
manager:
schema: 2.0.0
---

# Remove-CsTeamsUnassignedNumberTreatment
Expand Down
3 changes: 2 additions & 1 deletion teams/teams-ps/teams/Remove-CsTeamsVdiPolicy.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
external help file: Microsoft.Teams.Policy.Administration.Cmdlets.Core.dll-Help.xml
Module Name: MicrosoftTeams
online version:
online version: https://learn.microsoft.com/powershell/module/teams/remove-csteamsvdipolicy
title: Remove-CsTeamsVdiPolicy
schema: 2.0.0
---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
external help file: Microsoft.Teams.Policy.Administration.Cmdlets.Core.dll-Help.xml
Module Name: MicrosoftTeams
online version: https://learn.microsoft.com/powershell/module/teams/remove-csteamsvirtualappointmentspolicy
title: Remove-CsTeamsVirtualAppointmentsPolicy
schema: 2.0.0
ms.author: erocha
author: emmanuelrocha001
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
external help file: MicrosoftTeams-help.xml
Module Name: MicrosoftTeams
online version: https://learn.microsoft.com/powershell/module/teams/remove-csteamsvoiceapplicationspolicy
title: Remove-CsTeamsVoiceApplicationsPolicy
schema: 2.0.0
---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
external help file: Microsoft.Teams.Policy.Administration.Cmdlets.Core.dll-Help.xml
Module Name: MicrosoftTeams
online version: https://learn.microsoft.com/powershell/module/teams/remove-csteamsworklocationdetectionpolicy
title: Remove-CsTeamsWorkLocationDetectionPolicy
schema: 2.0.0
ms.author: arkozlov
manager: prashibadkur
Expand Down Expand Up @@ -29,10 +30,10 @@ Deletes an instance of TeamsWorkLocationDetectionPolicy. The `Identity` paramete

### Example 1
```powershell
PS C:\>Remove-CsTeamsWorkLocationDetectionPolicy -Identity Foobar
PS C:\>Remove-CsTeamsWorkLocationDetectionPolicy -Identity wld-policy
```

Deletes a given policy instance with the Identity Foobar.
Deletes a given policy instance with the Identity wld-policy.

## PARAMETERS

Expand Down
3 changes: 2 additions & 1 deletion teams/teams-ps/teams/Remove-CsUserCallingDelegate.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ external help file: Microsoft.Open.Teams.CommonLibrary.dll-Help.xml
Module Name: MicrosoftTeams
online version: https://learn.microsoft.com/powershell/module/teams/remove-csusercallingdelegate
applicable: Microsoft Teams
title: Remove-CsUserCallingDelegate
schema: 2.0.0
author: serdarsoysal
ms.author: serdars
ms.reviewer:
manager:
schema: 2.0.0
---

# Remove-CsUserCallingDelegate
Expand Down
1 change: 1 addition & 0 deletions teams/teams-ps/teams/Remove-SharedWithTeam.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
external help file: Microsoft.TeamsCmdlets.PowerShell.Custom.dll-Help.xml
Module Name: MicrosoftTeams
online version: https://learn.microsoft.com/powershell/module/teams/remove-sharedwithteam
title: Remove-SharedWithTeam
schema: 2.0.0
author: serdarsoysal
ms.author: serdars
Expand Down
1 change: 1 addition & 0 deletions teams/teams-ps/teams/Remove-Team.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
external help file: Microsoft.TeamsCmdlets.PowerShell.Custom.dll-Help.xml
Module Name: MicrosoftTeams
online version: https://learn.microsoft.com/powershell/module/teams/remove-team
title: Remove-Team
schema: 2.0.0
author: serdarsoysal
ms.author: serdars
Expand Down
1 change: 1 addition & 0 deletions teams/teams-ps/teams/Remove-TeamChannel.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
external help file: Microsoft.TeamsCmdlets.PowerShell.Custom.dll-Help.xml
Module Name: MicrosoftTeams
online version: https://learn.microsoft.com/powershell/module/teams/remove-teamchannel
title: Remove-TeamChannel
schema: 2.0.0
author: serdarsoysal
ms.author: serdars
Expand Down
12 changes: 8 additions & 4 deletions teams/teams-ps/teams/Remove-TeamChannelUser.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,20 @@
external help file: Microsoft.TeamsCmdlets.PowerShell.Custom.dll-Help.xml
Module Name: MicrosoftTeams
online version: https://learn.microsoft.com/powershell/module/teams/remove-teamchanneluser
title: Remove-TeamChannelUser
schema: 2.0.0
---

# Remove-TeamChannelUser

## SYNOPSIS
Note: the command will return immediately, but the Teams application will not reflect the update immediately, please refresh the members page to see the update.
> [!Note]
> The command will return immediately, but the Teams application will not reflect the update immediately, please refresh the members page to see the update.

To turn an existing Owner into a Member, specify role parameter as Owner.

Note: last owner cannot be removed from the private channel.
> [!Note]
> Last owner cannot be removed from the private channel.

## SYNTAX

Expand All @@ -23,7 +26,8 @@ Remove-TeamChannelUser -GroupId <String> -DisplayName <String> -User <String> [-

## DESCRIPTION

Note: This cmdlet is part of the Public Preview version of Teams PowerShell Module, for more information see [Install Teams PowerShell public preview](https://learn.microsoft.com/microsoftteams/teams-powershell-install#install-teams-powershell-public-preview) and also see [Microsoft Teams PowerShell Release Notes](https://learn.microsoft.com/microsoftteams/teams-powershell-release-notes).
> [!Note]
> This cmdlet is part of the Public Preview version of Teams PowerShell Module, for more information see [Install Teams PowerShell public preview](https://learn.microsoft.com/microsoftteams/teams-powershell-install#install-teams-powershell-public-preview) and also see [Microsoft Teams PowerShell Release Notes](https://learn.microsoft.com/microsoftteams/teams-powershell-release-notes).

## EXAMPLES

Expand Down Expand Up @@ -65,7 +69,7 @@ Accept wildcard characters: False
```

### -User
User's UPN (user principal name - e.g.
User's email address (e.g.
[email protected])

```yaml
Expand Down
1 change: 1 addition & 0 deletions teams/teams-ps/teams/Remove-TeamTargetingHierarchy.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
external help file: Microsoft.TeamsCmdlets.PowerShell.Custom.dll-Help.xml
Module Name: MicrosoftTeams
online version: https://learn.microsoft.com/powershell/module/teams/connect-microsoftteams
title: Remove-TeamTargetingHierarchy
schema: 2.0.0
author: serdarsoysal
ms.author: serdars
Expand Down
1 change: 1 addition & 0 deletions teams/teams-ps/teams/Remove-TeamUser.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
external help file: Microsoft.TeamsCmdlets.PowerShell.Custom.dll-Help.xml
Module Name: MicrosoftTeams
online version: https://learn.microsoft.com/powershell/module/teams/remove-teamuser
title: Remove-TeamUser
schema: 2.0.0
author: serdarsoysal
ms.author: serdars
Expand Down
1 change: 1 addition & 0 deletions teams/teams-ps/teams/Remove-TeamsApp.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
external help file: Microsoft.TeamsCmdlets.PowerShell.Custom.dll-Help.xml
Module Name: MicrosoftTeams
online version: https://learn.microsoft.com/powershell/module/teams/remove-teamsapp
title: Remove-TeamsApp
schema: 2.0.0
---

Expand Down
1 change: 1 addition & 0 deletions teams/teams-ps/teams/Remove-TeamsAppInstallation.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
external help file: Microsoft.TeamsCmdlets.PowerShell.Custom.dll-Help.xml
Module Name: MicrosoftTeams
online version: https://learn.microsoft.com/powershell/module/teams/remove-teamsappinstallation
title: Remove-TeamsAppInstallation
schema: 2.0.0
author: serdarsoysal
ms.author: serdars
Expand Down
1 change: 1 addition & 0 deletions teams/teams-ps/teams/Set-CsGroupPolicyAssignment.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
external help file: Microsoft.TeamsCmdlets.PowerShell.Custom.dll-Help.xml
Module Name: MicrosoftTeams
online version: https://learn.microsoft.com/powershell/module/teams/set-csgrouppolicyassignment
title: Set-CsGroupPolicyAssignment
schema: 2.0.0
author: tomkau
ms.author: tomkau
Expand Down
3 changes: 2 additions & 1 deletion teams/teams-ps/teams/Set-CsInboundExemptNumberPattern.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
external help file: Microsoft.Rtc.Management.Hosted.dll-help.xml
online version: https://learn.microsoft.com/powershell/module/teams/set-csinboundexemptnumberpattern
applicable: Microsoft Teams
title: Set-CsInboundExemptNumberPattern
schema: 2.0.0
author: serdarsoysal
ms.author: serdars
ms.reviewer:
manager:
schema: 2.0.0
---

# Set-CsInboundExemptNumberPattern
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
external help file: MicrosoftTeams-help.xml
Module Name: MicrosoftTeams
online version: https://learn.microsoft.com/powershell/module/teams/set-csonlineaudioconferencingroutingpolicy
title: Set-CsOnlineAudioConferencingRoutingPolicy
schema: 2.0.0
---

Expand Down
3 changes: 2 additions & 1 deletion teams/teams-ps/teams/Set-CsPhoneNumberAssignment.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ external help file: Microsoft.Open.Teams.CommonLibrary.dll-Help.xml
Module Name: MicrosoftTeams
online version: https://learn.microsoft.com/powershell/module/teams/set-csphonenumberassignment
applicable: Microsoft Teams
title: Set-CsPhoneNumberAssignment
schema: 2.0.0
author: serdarsoysal
ms.author: serdars
ms.reviewer:
manager:
schema: 2.0.0
---

# Set-CsPhoneNumberAssignment
Expand Down
1 change: 1 addition & 0 deletions teams/teams-ps/teams/Set-CsTeamsAudioConferencingPolicy.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
external help file: MicrosoftTeams-help.xml
Module Name: MicrosoftTeams
online version: https://learn.microsoft.com/powershell/module/teams/set-csteamsaudioconferencingpolicy
title: Set-CsTeamsAudioConferencingPolicy
schema: 2.0.0
---

Expand Down
Loading