Remove-CsTeamsWorkLocationDetectionPolicy
This cmdlet is used to delete an instance of TeamsWorkLocationDetectionPolicy.
PowerShell
Remove-CsTeamsWorkLocationDetectionPolicy
[-Identity] <String>
[-Force]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Deletes an instance of TeamsWorkLocationDetectionPolicy. The Identity
parameter accepts the identity of the policy instance to delete.
PowerShell
PS C:\>Remove-CsTeamsWorkLocationDetectionPolicy -Identity wld-policy
Deletes a given policy instance with the Identity wld-policy.
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 |
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 |
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 |
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 |
System.String
System.Void