Get-CMServiceConnectionPoint

Gets a service connection point.

Syntax

Get-CMServiceConnectionPoint
   [-AllSite]
   -InputObject <IResultObject>
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [<CommonParameters>]
Get-CMServiceConnectionPoint
   [-SiteCode <String>]
   [[-SiteSystemServerName] <String>]
   [-AllSite]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [<CommonParameters>]

Description

The Get-CMServiceConnectionPoint cmdlet gets a service connection point.

Examples

Example 1: Get a service connection point by name

PS C:\> Get-CMServiceConnectionPoint -SiteSystemServerName "TestServer01.Contoso.com" -SiteCode PS1

This command gets the service connection point for the site system server named TestServer01.Contoso.com with the site code PS1.

Example 2: Get a service connection point by using a variable

PS C:\> $Server = Get-CMSiteSystemServer -SiteCode PS1 -SiteSystemServerName "TestServer02.Contoso.com"
PS C:\> Get-CMServiceConnectionPoint -InputObject $Server

The first command gets the site system server object named TestServer02.Contoso.com with the site code PS1 and saves the object in the $Server variable.

The second command gets the service connection point for the server stored in $Server.

Required Parameters

-InputObject

Specifies a site system server object. To obtain a site system server object, use the Get-CMSiteSystemServer cmdlet.

Type:IResultObject
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False

Optional Parameters

-AllSite
Type:SwitchParameter
Aliases:AllSites
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DisableWildcardHandling

DisableWildcardHandling treats wildcard characters as literal character values. Cannot be combined with ForceWildcardHandling.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ForceWildcardHandling

ForceWildcardHandling processes wildcard characters and may lead to unexpected behavior (not recommended). Cannot be combined with DisableWildcardHandling.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-SiteCode

Specifies the site code for a Configuration Manager site.

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

Specifies the name of a site system server that hosts the service connection point role.

Type:String
Aliases:Name, ServerName
Position:0
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Outputs

IResultObject[]#SMS_SCI_SysResUse