Remove-Trigger

Deletes a new trigger.

Syntax

Remove-Trigger [-Name] <String> [-SchemaName <String>] [<CommonParameters>]

Description

Deletes an existing trigger.

Related Commands

Parameters

Name Type Description Required? Pipeline Input Default Value
Name String

The name of the trigger.

true false
SchemaName String

The schema of the trigger.

false false dbo

EXAMPLE 1

Remove-Trigger 'PrintMessage'

Removes the PrintMessage trigger.