Commands › Microsoft Teams

Remove-CsOnlineLisWirelessAccessPoint

Microsoft Teams MicrosoftTeams Remove-*

Removes a Location Information Server (LIS) wireless access point (WAP).

Quick start script

# Remove-CsOnlineLisWirelessAccessPoint — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-MicrosoftTeams -CertificateThumbprint $thumb -ApplicationId $appId -TenantId $tenantId

# 2. Capture the current state first — you cannot roll back what you never recorded
$before = Get-CsOnlineLisWirelessAccessPoint
$before | Format-List

# 3. Make the change (dry run first)
Remove-CsOnlineLisWirelessAccessPoint -BSSID <String> -WhatIf
Remove-CsOnlineLisWirelessAccessPoint -BSSID <String>

# 4. Verify and diff
$after = Get-CsOnlineLisWirelessAccessPoint
Compare-Object ($before | Out-String) ($after | Out-String)

Syntax

Remove-CsOnlineLisWirelessAccessPoint [-BSSID] <string> [-Force] [-IsDebug <bool>] [-NCSApiUrl <string>] [-TargetStore <string>]
 [-WhatIf] [-Confirm] [<CommonParameters>]

Parameters (7)

ParameterTypeRequiredWhat it controls
-BSSID String yes The Basic Service Set Identifier (BSSID) of the wireless access point. This value must be in the form nn-nn-nn-nn-nn-nn, such as 12-34-56-78-90-ab. It can be presented in wildcard format. The wildcard '*' can be on...
-Confirm SwitchParameter Prompts you for confirmation before running the cmdlet.
-Force SwitchParameter The Force switch specifies whether to suppress warning and confirmation messages. It can be useful in scripting to suppress interactive prompts. If the Force switch isn't provided in the command, you're prompted for...
-IsDebug Boolean This parameter is reserved for internal Microsoft use.
-NCSApiUrl String This parameter is reserved for internal Microsoft use.
-TargetStore String This parameter is reserved for internal Microsoft use.
-WhatIf SwitchParameter Shows what would happen if the cmdlet runs. The cmdlet is not run.

Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.