# Get-RASNotificationScript

## NAME

Get-RASNotificationScript

## SYNOPSIS

Retrieves notification script info.

## SYNTAX

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

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

## DESCRIPTION

Retrieves a list or individual notification script info.

## PARAMETERS

## Name (string)

Script name.

```
        Required?                    false

        Position?                    0

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## SiteId (uint)

Site ID.

If the parameter is omitted, the site ID of the Licensing Server will be\
used.

```
        Required?                    false

        Position?                    1

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## Id (uint)

Script ID

```
        Required?                    true

        Position?                    0

        Default value                0

        Accept pipeline input?       false

        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

-none-

## OUTPUTS

[NotificationScript](../types/notificationscript)

## EXAMPLES

\*\*---------- EXAMPLE 1 ----------

Get-RASNotificationScript

Returns a list of notification scripts.\
\*\*---------- EXAMPLE 2 ----------

Get-RASNotificationScript -Id 12

Returns a notification script with Id 12.\
\*\*---------- EXAMPLE 3 ----------

Get-RASNotificationScript -Name "testScript"

Returns a notification script named 'testScript'.

## RELATED LINKS

* [New-RASNotificationScript](new-rasnotificationscript)
* [Set-RASNotificationScript](set-rasnotificationscript)
* [Remove-RASNotificationScript](remove-rasnotificationscript)
