Get-SCSMSetting

Retrieves configuration settings of System Center Service Manager.

Syntax

Get-SCSMSetting [[-DisplayName] <String[]>] [-ComputerName <String[]>] [-Credential <PSCredential>]
 [-SCSession <Connection[]>] [<CommonParameters>]
Get-SCSMSetting [-Id] <Guid[]> [-ComputerName <String[]>] [-Credential <PSCredential>]
 [-SCSession <Connection[]>] [<CommonParameters>]

Description

The Get-SCSMSetting cmdlet retrieves configuration settings of System Center Service Manager.

Examples

Example 1: Get configuration settings for the Problem feature

PS C:\>Get-SCSMSetting -DisplayName "Problem*"
DisplayName                        : Problem Settings
MaxAttachments                     : 10
MaxAttachmentSize                  : 64
PriorityMatrix                     : 
PriorityMaxValue                   : 
PriorityMinValue                   : 
ProblemIdPrefix                    : PR
Priority_UrgencyLowImpactHigh      : 
Priority_UrgencyLowImpactMedium    : 
Priority_UrgencyLowImpactLow       : 
Priority_UrgencyMediumImpactHigh   : 
Priority_UrgencyMediumImpactMedium : 
Priority_UrgencyMediumImpactLow    : 
Priority_UrgencyHighImpactHigh     : 
Priority_UrgencyHighImpactMedium   : 
Priority_UrgencyHighImpactLow      :

This command retrieves configuration settings for the Service Manager Problem feature.

Example 2: Get configuration settings for the Data Retention feature

PS C:\>Get-SCSMSetting -DisplayName "*Retention*"
DisplayName       : Data Retention Settings
ChangeRequestDays : 365
IncidentDays      : 90
ProblemDays       : 365
HistoryDays       : 365

This command retrieves the configuration settings for the Service Manager Data Retention feature.

Example 3: Get configuration settings for the Knowledge feature

PS C:\>Get-SCSMSetting -DisplayName "Knowledge*"
DisplayName   : Knowledge Management Settings
ArticlePrefix : KA

This command retrieves the configuration settings for the Service Manager Knowledge Managements feature.

Example 4: Get configuration settings for the Change Request feature

PS C:\>("Change Request Settings" | Get-SCSMSetting ).__EnterpriseManagementObject.Id | Get-SCSMSetting
DisplayName                         : Change Request Settings
MaxFileAttachmentsCount             : 10
MaxFileAttachmentSizeinKB           : 64
SystemWorkItemChangeRequestIdPrefix : CR

This command retrieves the configuration settings for the Service Manager Change Request feature, using the GUID of solution settings.

Example 5: Get configuration settings for the Activity Management feature

PS C:\>Get-SCSMSetting -DisplayName "Activity*"
DisplayName                                      : Activity Settings
SystemWorkItemActivityDependentActivityIdPrefix  : DA
SystemWorkItemActivityIdPrefix                   : AC
SystemWorkItemActivityManualActivityIdPrefix     : MA
SystemWorkItemActivityParallelActivityIdPrefix   : PA
SystemWorkItemActivityReviewActivityIdPrefix     : RA
SystemWorkItemActivitySequentialActivityIdPrefix : SA

This command retrieves the configuration settings for the Service Manager Activity Management feature.

Example 6: Get configuration settings for the Incident Management feature

PS C:\>Get-SCSMSetting -DisplayName "Incident*"
DisplayName                        : Incident Settings
PrefixForId                        : IR
MaxAttachments                     : 10
MaxAttachmentSize                  : 2048
DefaultTierQueue                   : Tier 2
Priority_UrgencyLowImpactLow       : 1
Priority_UrgencyMediumImpactLow    : 2
Priority_UrgencyHighImpactLow      : 3
Priority_UrgencyLowImpactMedium    : 4
Priority_UrgencyMediumImpactMedium : 5
Priority_UrgencyHighImpactMedium   : 6
Priority_UrgencyLowImpactHigh      : 7
Priority_UrgencyMediumImpactHigh   : 8
Priority_UrgencyHighImpactHigh     : 9
Priority1ResolutionTime            : 1
Priority2ResolutionTime            : 2
Priority3ResolutionTime            : 3
Priority4ResolutionTime            : 4
Priority5ResolutionTime            : 5
Priority6ResolutionTime            : 6000
Priority7ResolutionTime            : 420
Priority8ResolutionTime            : 11520
Priority9ResolutionTime            : 90720
OpsMgrWebConsoleUrl                : 
SMTPDropFolder                     : smtp drop
SMTPBadFolder                      : smtp bad
MaximumEmailItems                  : 10
EmailProcesingIsEnabled            :

This command retrieves the configuration settings for the Service Manager Incident Management feature.

Example 7: Get configuration settings for Service Manager

PS C:\>Get-SCSMSetting
DisplayName       : Data Retention Settings
ChangeRequestDays : 365
IncidentDays      : 90
ProblemDays       : 365
HistoryDays       : 365


DisplayName                        : Problem Settings
MaxAttachments                     : 10
MaxAttachmentSize                  : 64
PriorityMatrix                     : 
PriorityMaxValue                   : 
PriorityMinValue                   : 
ProblemIdPrefix                    : PR
Priority_UrgencyLowImpactHigh      : 
Priority_UrgencyLowImpactMedium    : 
Priority_UrgencyLowImpactLow       : 
Priority_UrgencyMediumImpactHigh   : 
Priority_UrgencyMediumImpactMedium : 
Priority_UrgencyMediumImpactLow    : 
Priority_UrgencyHighImpactHigh     : 
Priority_UrgencyHighImpactMedium   : 
Priority_UrgencyHighImpactLow      : 


DisplayName                                      : Activity Settings
SystemWorkItemActivityDependentActivityIdPrefix  : DA
SystemWorkItemActivityIdPrefix                   : AC
SystemWorkItemActivityManualActivityIdPrefix     : MA
SystemWorkItemActivityParallelActivityIdPrefix   : PA
SystemWorkItemActivityReviewActivityIdPrefix     : RA
SystemWorkItemActivitySequentialActivityIdPrefix : SA


DisplayName                    : Knowledge Management Settings
SystemKnowledgeArticleIdPrefix : KA


DisplayName                         : Change Request Settings
MaxFileAttachmentsCount             : 10
MaxFileAttachmentSizeinKB           : 64
SystemWorkItemChangeRequestIdPrefix : CR


DisplayName                         : Release Management Settings
MaxFileAttachmentsCount             : 10
MaxFileAttachmentSizeinKB           : 64
SystemWorkItemReleaseRecordIdPrefix : RR


DisplayName                        : Incident Settings
PrefixForId                        : IR
MaxAttachments                     : 10
MaxAttachmentSize                  : 2048
DefaultTierQueue                   : 
Priority_UrgencyLowImpactLow       : 
Priority_UrgencyLowImpactMedium    : 
Priority_UrgencyLowImpactHigh      : 
Priority_UrgencyMediumImpactLow    : 
Priority_UrgencyMediumImpactMedium : 
Priority_UrgencyMediumImpactHigh   : 
Priority_UrgencyHighImpactLow      : 
Priority_UrgencyHighImpactMedium   : 
Priority_UrgencyHighImpactHigh     : 
Priority1ResolutionTime            : 0
Priority2ResolutionTime            : 0
Priority3ResolutionTime            : 0
Priority4ResolutionTime            : 0
Priority5ResolutionTime            : 0
Priority6ResolutionTime            : 0
Priority7ResolutionTime            : 0
Priority8ResolutionTime            : 0
Priority9ResolutionTime            : 0
OpsMgrWebConsoleUrl                : 
SMTPDropFolder                     : 
SMTPBadFolder                      : 
MaximumEmailItems                  : 
EmailProcesingIsEnabled            :

This command retrieves all the configuration settings for Service Manager.

Parameters

-ComputerName

Specifies the name of the computer on which the System Center Data Access service runs. The user account that is specified in the Credential parameter must have access rights to the specified computer.

Type:String[]
Required:False
Position:Named
Default value:Localhost
Accept pipeline input:False
Accept wildcard characters:False
-Credential

Specifies the credentials that this cmdlet uses to connect to the server on which the System Center Data Access service runs. The specified user account must have access rights to that server.

Type:PSCredential
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DisplayName

Specifies the value of the display name property of the setting to retrieve.

Type:String[]
Required:False
Position:0
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-Id

Specifies the ID of the setting to retrieve.

Type:Guid[]
Required:True
Position:0
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-SCSession

Specifies an object that represents the session to a Service Manager management server.

Type:Connection[]
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Inputs

System.String

You can pipe one of the following solution settings to the *DisplayName* parameter:

- Activity Settings - Release Management Settings - Knowledge Management Settings - Problem Settings - Data Retention Settings - Service Request Settings - Incident Settings - Change Request Settings

Inputs

System.Guid

You can pipe a GUID of a solution settings object to the *Id* parameter. You can retrieve that GUID from the **__EnterpriseManagementObject** property of a solution settings object by using the following command:

`PS C:\\\> Get-SCSMSetting | ForEach-Object {$_.__EnterpriseManagementObject} | Format_Table -Property ID,DisplayName -AutoSize`

Outputs

System.WorkItem.Incident.GeneralSetting

This cmdlet returns configuration settings of System Center Service Manager.