編輯

共用方式為


Remove-CsTeamsVirtualAppointmentsPolicy

This cmdlet is used to delete an instance of TeamsVirtualAppointmentsPolicy.

Syntax

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

Description

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

Examples

Example 1

PS C:\>Remove-CsTeamsVirtualAppointmentsPolicy -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