Get-SCSPFSetting

Gets a setting for a database connection or for a portal endpoint.

Syntax

Get-SCSPFSetting
   [-SettingType <String>]
   [<CommonParameters>]
Get-SCSPFSetting
   -ID <Guid[]>
   [<CommonParameters>]
Get-SCSPFSetting
   -Name <String[]>
   [<CommonParameters>]
Get-SCSPFSetting
   -Server <Server>
   [-SettingType <String>]
   [<CommonParameters>]
Get-SCSPFSetting
   -ServerName <String>
   [-SettingType <String>]
   [<CommonParameters>]

Description

The Get-SCSPFSetting cmdlet gets the setting for a database connection or for a portal endpoint connection.

Examples

Example 1: Get a setting

PS C:\>$Setting = Get-SCSPFSetting -ID f3b39608-ac58-40b7-853c-241e343b256a

This command gets an existing setting by its ID.

Parameters

-ID

Specifies the GUID for the setting.

Type:Guid[]
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Name

Specifies a name for the setting.

Type:String[]
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Server

Specifies a server object associated with the setting.

Type:Server
Position:Named
Default value:None
Accept pipeline input:True
Accept wildcard characters:False
-ServerName

Specifies the name of the sever associated with the setting.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-SettingType

Specifies either DatabaseConnectionString or EndPointConnectionString.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False