Remove-CsTeamsWorkLocationDetectionPolicy

This cmdlet is used to delete an instance of TeamsWorkLocationDetectionPolicy.

Syntax

Remove-CsTeamsWorkLocationDetectionPolicy
      [-Identity] <String>
      [-Force]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Description

Deletes an instance of TeamsWorkLocationDetectionPolicy. The Identity parameter accepts the identity of the policy instance to delete.

Examples

Example 1

PS C:\>Remove-CsTeamsWorkLocationDetectionPolicy -Identity Foobar

Deletes a given policy instance with the Identity Foobar.

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Force

Suppresses the display of any non-fatal error message that might arise when running the command.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Identity

Name of the new policy instance to be created.

Type:String
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

System.String

Outputs

System.Void