# Remove-RASNotificationScript

## NAME

Remove-RASNotificationScript

## SYNOPSIS

Removes notification script.

## SYNTAX

**Remove-RASNotificationScript**\
-[Id](#id-string) _(uint)_\
\[_(_[_CommonParameters_](#CommonParameters)_)_]

**Remove-RASNotificationScript**\
-[InputObject](#inputobject)_(_[_NotificationScript_](../types/notificationscript)_)_\
\[_(_[_CommonParameters_](#CommonParameters)_)_]

**Remove-RASNotificationScript**\
\[\[-[SiteId](#siteid-string)] _(uint)_]\
-[Name](#name-string) _(string)_\
\[_(_[_CommonParameters_](#CommonParameters)_)_]

## DESCRIPTION

Removes existing notification script.

## PARAMETERS

## Name (string)

Script name

```
        Required?                    true

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## SiteId (uint)

Site ID from which to remove the specified Notification Script.

```
        Required?                    false

        Position?                    1

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## Id (uint)

Script ID.

```
        Required?                    true

        Position?                    named

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## InputObject

([NotificationScript](../types/notificationscript))\
Input object from pipeline or by parameter.

```
        Required?                    true

        Position?                    named

        Default value                

        Accept pipeline input?       true (ByValue)

        Accept wildcard characters?  false
```

(CommonParameters)

```
        This cmdlet supports the common parameters: Verbose, Debug,

        ErrorAction, ErrorVariable, WarningAction, WarningVariable,

        OutBuffer, PipelineVariable, and OutVariable. For more information, see 

        about_CommonParameters documentation. 
```

## INPUTS

[NotificationScript](../types/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.

## RELATED LINKS

* [Get-RASNotificationScript](get-rasnotificationscript)
* [New-RASNotificationScript](new-rasnotificationscript)
* [Set-RASNotificationScript](set-rasnotificationscript)
