Get-CMServiceConnectionPoint
Gets a service connection point.
Syntax
Get-CMServiceConnectionPoint
[-AllSite]
[-SiteCode <String>]
[[-SiteSystemServerName] <String>]
[-DisableWildcardHandling]
[-ForceWildcardHandling]
[<CommonParameters>]
Get-CMServiceConnectionPoint
[-AllSite]
-InputObject <IResultObject>
[-DisableWildcardHandling]
[-ForceWildcardHandling]
[<CommonParameters>]
Description
The Get-CMServiceConnectionPoint cmdlet gets a service connection point.
Note
Run Configuration Manager cmdlets from the Configuration Manager site drive, for example PS XYZ:\>
. For more information, see getting started.
Examples
Example 1: Get a service connection point by name
PS XYZ:\> 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 XYZ:\> $Server = Get-CMSiteSystemServer -SiteCode PS1 -SiteSystemServerName "TestServer02.Contoso.com"
PS XYZ:\> 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.
Parameters
-AllSite
Type: | SwitchParameter |
Aliases: | AllSites |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DisableWildcardHandling
This parameter treats wildcard characters as literal character values. You can't combine it with ForceWildcardHandling.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ForceWildcardHandling
This parameter processes wildcard characters and may lead to unexpected behavior (not recommended). You can't combine it with DisableWildcardHandling.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-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 |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-SiteCode
Specifies the site code for a Configuration Manager site.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
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 |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | True |
Inputs
Microsoft.ConfigurationManagement.ManagementProvider.IResultObject
Outputs
IResultObject[]
IResultOBject