Skip to content

Commit dc2d4b7

Browse files
authored
Merge pull request #12476 from annakrajuskina/main
Update CsTeamsWorkLocationDetectionPolicy documentation
2 parents d273112 + 1772d25 commit dc2d4b7

4 files changed

+17
-17
lines changed

teams/teams-ps/teams/Get-CsTeamsWorkLocationDetectionPolicy.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,19 +40,19 @@ PS C:\> Get-CsTeamsWorkLocationDetectionPolicy
4040
Identity EnableWorkLocationDetection
4141
-------- ----------------------
4242
Global False
43-
Tag:wld-enabled True
44-
Tag:wld-disabled False
43+
Tag:wld-policy1 True
44+
Tag:wld-policy2 False
4545
```
4646
Fetches all the policy instances currently available.
4747

4848
### Example 2
4949
```powershell
50-
PS C:\> Get-CsTeamsWorkLocationDetectionPolicy -Identity wld-enabled
50+
PS C:\> Get-CsTeamsWorkLocationDetectionPolicy -Identity wld-policy1
5151
```
5252
```output
5353
Identity EnableWorkLocationDetection
5454
-------- ----------------------
55-
Tag:wld-enabled True
55+
Tag:wld-policy1 True
5656
```
5757
Fetches an instance of a policy with a known identity.
5858

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

teams/teams-ps/teams/Grant-CsTeamsWorkLocationDetectionPolicy.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,28 +47,28 @@ Passes in the `Identity` of the policy instance in the `PolicyName` parameter an
4747

4848
### Example 1
4949
```powershell
50-
PS C:\> Grant-CsTeamsWorkLocationDetectionPolicy -PolicyName sms-enabled -Identity [email protected]
50+
PS C:\> Grant-CsTeamsWorkLocationDetectionPolicy -PolicyName sms-policy -Identity [email protected]
5151
```
5252

5353
Assigns a given policy to a user.
5454

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

6060
Assigns a given policy to a group.
6161

6262
### Example 3
6363
```powershell
64-
PS C:\> Grant-CsTeamsWorkLocationDetectionPolicy -Global -PolicyName wld-enabled
64+
PS C:\> Grant-CsTeamsWorkLocationDetectionPolicy -Global -PolicyName wld-policy
6565
```
6666

6767
Assigns a given policy to the tenant.
6868

6969
### Example 3
7070
```powershell
71-
PS C:\> Grant-CsTeamsWorkLocationDetectionPolicy -Global -PolicyName wld-enabled
71+
PS C:\> Grant-CsTeamsWorkLocationDetectionPolicy -Global -PolicyName wld-policy
7272
```
7373

7474
Note: _Using $null in place of a policy name can be used to unassigned a policy instance._

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,25 +29,25 @@ This gives users the ability to consent to the use of this location data to set
2929

3030
### Example 1
3131
```powershell
32-
PS C:\> New-CsTeamsWorkLocationDetectionPolicy -Identity wld-enabled -EnableWorkLocationDetection $true
32+
PS C:\> New-CsTeamsWorkLocationDetectionPolicy -Identity wld-policy -EnableWorkLocationDetection $true
3333
```
3434
```output
3535
Identity EnableWorkLocationDetection
3636
-------- ----------------------
37-
Tag:wld-enabled True
37+
Tag:wld-policy True
3838
```
3939
Creates a new policy instance with the identity wld-enabled. `EnableWorkLocationDetection` is set to the value specified in the command.
4040

4141
### Example 2
4242
```powershell
43-
PS C:\> New-CsTeamsWorkLocationDetectionPolicy -Identity wld-disable
43+
PS C:\> New-CsTeamsWorkLocationDetectionPolicy -Identity wld-policy
4444
```
4545
```output
4646
Identity EnableWorkLocationDetection
4747
-------- ----------------------
48-
Tag:wld-disable False
48+
Tag:wld-policy False
4949
```
50-
Creates a new policy instance with the identity wld-disable. `EnableWorkLocationDetection` will default to false if it is not specified.
50+
Creates a new policy instance with the identity wld-policy. `EnableWorkLocationDetection` will default to false if it is not specified.
5151

5252
## PARAMETERS
5353

teams/teams-ps/teams/Remove-CsTeamsWorkLocationDetectionPolicy.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ Deletes an instance of TeamsWorkLocationDetectionPolicy. The `Identity` paramete
3030

3131
### Example 1
3232
```powershell
33-
PS C:\>Remove-CsTeamsWorkLocationDetectionPolicy -Identity Foobar
33+
PS C:\>Remove-CsTeamsWorkLocationDetectionPolicy -Identity wld-policy
3434
```
3535

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

3838
## PARAMETERS
3939

0 commit comments

Comments
 (0)