# Get-RASPubDefaultSettings

## NAME

Get-RASPubDefaultSettings

## SYNOPSIS

Retrieves default settings used to configure published resources.

## SYNTAX

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

## DESCRIPTION

Retrieves default settings used to configure published resources.

Default settings are defined on a site level and are applied to an RD\
Session Host server when it is initially created.

A RAS administrator can modify the defaults if needed using the\
Set-RASRDSDefaultSettings cmdlet.

## PARAMETERS

## SiteId (uint)

Site ID from which to retrieve the defaults.

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

```
        Required?                    false

        Position?                    named

        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

[PubDefaultSettings](../types/pubdefaultsettings)

## EXAMPLES

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

Get-RASPubDefaultSettings -SiteId 3

Retrieves default settings from the specified site.

## RELATED LINKS

* [Set-RASPubDefaultSettings](set-raspubdefaultsettings)
