Edit

Share via


Remove-CsTeamsPersonalAttendantPolicy

Limited Preview: Functionality described in this document is currently in limited preview and only authorized organizations have access.

Use this cmdlet to remove an existing instance of a Teams Personal Attendant Policy or reset the Global policy instance to the default values.

Syntax

Default (Default)

Remove-CsTeamsPersonalAttendantPolicy
    -Identity <string>
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Description

This cmdlet removes an existing Teams Personal Attendant Policy instance or resets the Global policy instance to the default values.

Examples

Example 1

Remove-CsTeamsPersonalAttendantPolicy -Identity SalesPersonalAttendantPolicy

This example removes the Teams Personal Attendant Policy with identity SalesPersonalAttendantPolicy

Example 2

Remove-CsTeamsPersonalAttendantPolicy -Identity Global

This example resets the Global Personal Attendant Policy instance to the default values.

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:cf

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Identity

The Identity parameter is the unique identifier of the Teams Personal Attendant Policy instance to remove or reset.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-WhatIf

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

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:wi

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

None

Outputs

System.Object

Notes

The cmdlet is available in Teams PowerShell module 7.2.1-preview or later.