CmdID / PowerShell / Cmdlets / Remove
Remove-CsOnlineLisLocation
Use the Remove-CsOnlineLisLocation cmdlet to remove an existing emergency location from the Location Information Service (LIS). Microsoft Teams PowerShell reference
From the Microsoft Teams PowerShell reference 4 parameters Its page in the reference
Parameters
-Confirm, -cfThe Confirm switch causes the command to pause processing and requires confirmation to proceed.-ForceThe Force switch specifies whether to suppress warning and confirmation messages.-LocationIdSpecifies the unique identifier of the location to be deleted.-WhatIf, -wiThe WhatIf switch causes the command to simulate its results.