Remove-RASNotificationScript

NAME

Remove-RASNotificationScript

SYNOPSIS

Removes notification script.

SYNTAX

Remove-RASNotificationScript -Id <uint> [<CommonParameters>]

Remove-RASNotificationScript -InputObject <NotificationScript> [<CommonParameters>]

Remove-RASNotificationScript [[-SiteId] <uint>] -Name <string> [<CommonParameters>]

DESCRIPTION

Removes existing notification script.

PARAMETERS

-Name <string> Script name

-SiteId <uint> Site ID from which to remove the specified Notification Script.

-Id <uint> Script ID.

-InputObject <NotificationScript> Input object from pipeline or by parameter.

<CommonParameters>

INPUTS

NotificationScript

OUTPUTS

-none-

EXAMPLES

---------- EXAMPLE 1 ----------

Remove-RASNotificationScript -Id 12

Removes notification script with Id 12. ---------- EXAMPLE 2 ----------

Remove-RASNotificationScript Name "script"

Removes notification script named 'script'. ---------- EXAMPLE 3 ----------

Get-RASNotificationScript -Id 12 | Remove-RASNotificationScript

Removes notification script using pipeline object.

Last updated