Remove-RASNotificationScript

NAME

Remove-RASNotificationScript

SYNOPSIS

Removes notification script.

SYNTAX

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

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

Remove-RASNotificationScript -InputObject <NotificationScript> [<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>
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

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