File tree Expand file tree Collapse file tree 2 files changed +11
-11
lines changed
Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -39,19 +39,19 @@ PS C:\> Get-CsTeamsWorkLocationDetectionPolicy
3939Identity EnableWorkLocationDetection
4040-------- ----------------------
4141Global False
42- Tag:wld-enabled True
43- Tag:wld-disabled False
42+ Tag:wld-policy1 True
43+ Tag:wld-policy2 False
4444```
4545Fetches 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
5252Identity EnableWorkLocationDetection
5353-------- ----------------------
54- Tag:wld-enabled True
54+ Tag:wld-policy1 True
5555```
5656Fetches an instance of a policy with a known identity.
5757
@@ -62,8 +62,8 @@ PS C:\> Get-CsTeamsWorkLocationDetectionPolicy -Filter *wld*
6262``` output
6363Identity EnableWorkLocationDetection
6464-------- ----------------------
65- Tag:wld-enabled True
66- Tag:wld-disabled False
65+ Tag:wld-policy1 True
66+ Tag:wld-policy2 False
6767```
6868The ` Filter ` parameter can be used to fetch policy instances based on partial matches on Identity.
6969
Original file line number Diff line number Diff 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
3434Identity EnableWorkLocationDetection
3535-------- ----------------------
36- Tag:wld-enabled True
36+ Tag:wld-policy True
3737```
3838Creates 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
4545Identity 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
You can’t perform that action at this time.
0 commit comments