Skip to content

Commit 4b78f9b

Browse files
Update Get-CsTeamsWorkLocationDetectionPolicy.md and New-CsTeamsWorkLocationDetectionPolicy.md (#2)
* Update New-CsTeamsWorkLocationDetectionPolicy.md Change policy identity name in the example to a more generic one * Update Get-CsTeamsWorkLocationDetectionPolicy.md Update policy identity name in the examples to be more generic
1 parent 5bc7dd3 commit 4b78f9b

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

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

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

4747
### Example 2
4848
```powershell
49-
PS C:\> Get-CsTeamsWorkLocationDetectionPolicy -Identity wld-enabled
49+
PS C:\> Get-CsTeamsWorkLocationDetectionPolicy -Identity wld-policy1
5050
```
5151
```output
5252
Identity EnableWorkLocationDetection
5353
-------- ----------------------
54-
Tag:wld-enabled True
54+
Tag:wld-policy1 True
5555
```
5656
Fetches an instance of a policy with a known identity.
5757

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

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

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

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

4040
### Example 2
4141
```powershell
42-
PS C:\> New-CsTeamsWorkLocationDetectionPolicy -Identity wld-disable
42+
PS C:\> New-CsTeamsWorkLocationDetectionPolicy -Identity wld-policy
4343
```
4444
```output
4545
Identity EnableWorkLocationDetection
4646
-------- ----------------------
47-
Tag:wld-disable False
47+
Tag:wld-policy False
4848
```
49-
Creates a new policy instance with the identity wld-disable. `EnableWorkLocationDetection` will default to false if it is not specified.
49+
Creates a new policy instance with the identity wld-policy. `EnableWorkLocationDetection` will default to false if it is not specified.
5050

5151
## PARAMETERS
5252

0 commit comments

Comments
 (0)