Skip to content

Commit 763d13a

Browse files
author
Artemii Kozlov
committed
Update New-CsTeamsWorkLocationDetectionPolicy documentation
1 parent d29d511 commit 763d13a

File tree

1 file changed

+35
-10
lines changed

1 file changed

+35
-10
lines changed

teams/teams-ps/teams/New-CsTeamsWorkLocationDetectionPolicy.md

Lines changed: 35 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
---
22
external help file: Microsoft.Teams.Policy.Administration.Cmdlets.Core.dll-Help.xml
3-
Module Name: Microsoft.Teams.Policy.Administration.Cmdlets.Core
4-
online version:
3+
Module Name: MicrosoftTeams
4+
online version: https://learn.microsoft.com/powershell/module/skype/new-csteamsworklocationdetectionpolicy
55
schema: 2.0.0
6+
ms.author: arkozlov
7+
manager: prashibadkur
8+
author: artemiykozlov
69
---
710

811
# New-CsTeamsWorkLocationDetectionPolicy
912

1013
## SYNOPSIS
11-
{{ Fill in the Synopsis }}
14+
This cmdlet is used to create a new instance of the TeamsWorkLocationDetectionPolicy.
1215

1316
## SYNTAX
1417

@@ -18,16 +21,31 @@ New-CsTeamsWorkLocationDetectionPolicy [-EnableWorkLocationDetection <Boolean>]
1821
```
1922

2023
## DESCRIPTION
21-
{{ Fill in the Description }}
24+
Creates a new instance of the TeamsWorkLocationDetectionPolicy. This policy can be used to tailor the work location detection experience. The parameter `EnableWorkLocationDetection` lets organizations collect the work location information of users using users plugging into hotdesks (unassigned desks) or rooms using tenant admin managed devices, using M365 in proximity of tenant managed device as MTRs, and sharing geographic geo location of mobile phone. The users can consent to use this information to set their workplace location.  The location information will be stored in the cloud and will be used for M365 hybrid work location scenarios. This information will also be used by M365 to drive analytics on workplace utilization and enhance the hybrid work experience.
2225

2326
## EXAMPLES
2427

2528
### Example 1
2629
```powershell
27-
PS C:\> {{ Add example code here }}
30+
PS C:\> New-CsTeamsWorkLocationDetectionPolicy -Identity wld-enabled -EnableWorkLocationDetection $true
2831
```
32+
```output
33+
Identity EnableWorkLocationDetection
34+
-------- ----------------------
35+
Tag:wld-enabled True
36+
```
37+
Creates a new policy instance with the identity wld-enabled. `EnableWorkLocationDetection` is set to the value specified in the command.
2938

30-
{{ Add example description here }}
39+
### Example 2
40+
```powershell
41+
PS C:\> New-CsTeamsWorkLocationDetectionPolicy -Identity wld-disable
42+
```
43+
```output
44+
Identity EnableWorkLocationDetection
45+
-------- ----------------------
46+
Tag:wld-disable False
47+
```
48+
Creates a new policy instance with the identity wld-disable. `EnableWorkLocationDetection` will default to false if it is not specified.
3149

3250
## PARAMETERS
3351

@@ -47,7 +65,7 @@ Accept wildcard characters: False
4765
```
4866
4967
### -EnableWorkLocationDetection
50-
{{ Fill EnableWorkLocationDetection Description }}
68+
This property lets organizations collect the work location information of users using users plugging into hotdesks (unassigned desks) or rooms using tenant admin managed devices, using M365 in proximity of tenant managed device as MTRs, and sharing geographic geo location of mobile phone. The users can consent to use this information to set their workplace location.  The location information will be stored in the cloud and will be used for M365 hybrid work location scenarios. This information will also be used by M365 to drive analytics on workplace utilization and enhance the hybrid work experience.
5169
5270
```yaml
5371
Type: Boolean
@@ -62,7 +80,7 @@ Accept wildcard characters: False
6280
```
6381
6482
### -Force
65-
{{ Fill Force Description }}
83+
Suppresses the display of any non-fatal error message that might arise when running the command.
6684
6785
```yaml
6886
Type: SwitchParameter
@@ -77,7 +95,7 @@ Accept wildcard characters: False
7795
```
7896
7997
### -Identity
80-
{{ Fill Identity Description }}
98+
Name of the new policy instance to be created.
8199
82100
```yaml
83101
Type: String
@@ -112,7 +130,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
112130
113131
## INPUTS
114132
115-
### None
133+
### System.String
116134
117135
## OUTPUTS
118136
@@ -121,3 +139,10 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
121139
## NOTES
122140
123141
## RELATED LINKS
142+
[Get-CsTeamsWorkLocationDetectionPolicy](Get-CsTeamsWorkLocationDetectionPolicy.md)
143+
144+
[Remove-CsTeamsWorkLocationDetectionPolicy](Remove-CsTeamsWorkLocationDetectionPolicy.md)
145+
146+
[Set-CsTeamsWorkLocationDetectionPolicy](Set-CsTeamsWorkLocationDetectionPolicy.md)
147+
148+
[Grant-CsTeamsWorkLocationDetectionPolicy](Grant-CsTeamsWorkLocationDetectionPolicy.md)

0 commit comments

Comments
 (0)