CmdID

CmdID / PowerShell / Cmdlets / Set

Set-CsTeamsWorkLocationDetectionPolicy

This cmdlet is used to update an instance of TeamsWorkLocationDetectionPolicy. Microsoft Teams PowerShell reference

From the Microsoft Teams PowerShell reference 6 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

6 in the Microsoft Teams PowerShell reference
-Confirm, -cfPrompts you for confirmation before running the cmdlet.
-EnableWorkLocationDetectionThis parameter specifies whether Microsoft Teams determines a user’s work location based on interaction with organization‑managed networks and devices.
-UserSettingsDefaultThis parameter specifies the default user consent behavior when automatic update of work location is enabled and only applies to WiFi, and has no impact on device-based detection.
-ForceSuppresses the display of any non-fatal error message that might arise when running the command.
-IdentityName of the new policy instance to be updated.
-WhatIf, -wiShows what would happen if the cmdlet runs.