File tree Expand file tree Collapse file tree 4 files changed +17
-17
lines changed
Expand file tree Collapse file tree 4 files changed +17
-17
lines changed Original file line number Diff line number Diff line change @@ -40,19 +40,19 @@ PS C:\> Get-CsTeamsWorkLocationDetectionPolicy
4040Identity EnableWorkLocationDetection
4141-------- ----------------------
4242Global False
43- Tag:wld-enabled True
44- Tag:wld-disabled False
43+ Tag:wld-policy1 True
44+ Tag:wld-policy2 False
4545```
4646Fetches 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
5353Identity EnableWorkLocationDetection
5454-------- ----------------------
55- Tag:wld-enabled True
55+ Tag:wld-policy1 True
5656```
5757Fetches an instance of a policy with a known identity.
5858
@@ -63,8 +63,8 @@ PS C:\> Get-CsTeamsWorkLocationDetectionPolicy -Filter *wld*
6363``` output
6464Identity EnableWorkLocationDetection
6565-------- ----------------------
66- Tag:wld-enabled True
67- Tag:wld-disabled False
66+ Tag:wld-policy1 True
67+ Tag:wld-policy2 False
6868```
6969The ` Filter ` parameter can be used to fetch policy instances based on partial matches on Identity.
7070
Original file line number Diff line number Diff 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 testuser@test.onmicrosoft.com
50+ PS C:\> Grant-CsTeamsWorkLocationDetectionPolicy -PolicyName sms-policy -Identity testuser@test.onmicrosoft.com
5151```
5252
5353Assigns 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
6060Assigns 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
6767Assigns 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
7474Note: _ Using $null in place of a policy name can be used to unassigned a policy instance._
Original file line number Diff line number Diff 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
3535Identity EnableWorkLocationDetection
3636-------- ----------------------
37- Tag:wld-enabled True
37+ Tag:wld-policy True
3838```
3939Creates 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
4646Identity 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments