Get-SCSMObjectTemplate

개체 템플릿을 가져옵니다.

Syntax

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

Description

Get-SCSMObjectTemplate cmdlet은 Service Manager 정의된 개체 템플릿을 검색합니다.

예제

예제 1: 모든 개체 템플릿 가져오기

PS C:\>Get-SCSMObjectTemplate
Name                                                                     Description
----                                                                     -----------
PortalIncidentTemplate                                                   Template applied to incidents created via the portal
AssignedToUserNotificationTemplate                                       Use for notifications sent to the user who is assigned the incident
StandardChangeRequest                                                    Standard Change Requests are pre-approved and used for low-risk pre-tested cha...
DataProvider.Microsoft.EnterpriseManagement.ServiceManager.Connector.AD  Linking Framework Active Directory Data Provider class
DataConsumer.Microsoft.EnterpriseManagement.ServiceManager.Connector.Sms Linking Framework Configuration Manager Data Consumer class
AffectedUserNotificationTemplate                                         Use for notifications sent to end users
NetworkingIssueIncidentTemplate                                          Use for incidents that are for networking problems
ChangeRequestAssignedToUserNotificationTemplate                          Use for notifications sent to the user who is assigned the change request
OpsMgr.CIList.Template                                                   This template sets the base classes that control which configuration items are...
DefaultParallelActivityTemplate                                          Default Parallel Activity
SecurityReleaseChangeRequest                                             Use Security Release template for security patch scenario. It includes typical...
EscalationNotificationTemplate                                           Use for notifications sent when an incident is escalated
DataProvider.Microsoft.EnterpriseManagement.ServiceManager.Connector.Sms Linking Framework Configuration Manager Data Provider class
MinorChangeRequest                                                       Minor Change Requests can be approved by change manager. Use them for low-risk...
DefaultIncidentTemplate                                                  Use when you want to open an incident for which you do not have a specific tem...
DefaultDependentActivityTemplate                                         Default Dependent Activity
EmergencyChangeRequest                                                   Emergency Change Requests are used for urgent changes which should be implemen...
DataConsumer.Microsoft.EnterpriseManagement.ServiceManager.Connector.AD  Linking Framework Active Directory Data Consumer class
SoftwareIssueIncidentTemplate                                            Use for incidents that are for software problems
HighPriorityIncidentTemplate                                             Use for incidents that have high impact and high urgency
MajorChangeRequest                                                       Major Change Requests should be screened by Change Manager. Change Advisory Bo...
DefaultReviewActivityTemplate                                            Default Review Activity
HardwareIssueIncidentTemplate                                            Use for incidents that are for hardware problems
DefaultSequentialActivityTemplate                                        Default Sequential Activity
PrintingIssueIncidentTemplate                                            Use for incidents that are for printing problems
DefaultManualActivityTemplate                                            Default Manual Activity
Microsoft.SystemCenter.WorkItem.SCOMIncident.Template                    System Center Operations Manager incident template
DefaultReleaseRecord                                                     Default Release Record

이 명령은 Service Manager 정의된 모든 개체 템플릿을 검색합니다.

예제 2: 이름으로 개체 템플릿 가져오기

PS C:\>Get-SCSMObjectTemplate -name "StandardChangeRequest"
StandardChangeRequest


Name                  Description
----                  -----------
StandardChangeRequest Standard Change Requests are pre-approved and used for low-risk pre-tested change operations.

이 명령은 StandardChangeRequest라는 이름의 개체 템플릿을 검색합니다.

매개 변수

-ComputerName

연결을 설정할 컴퓨터를 지정합니다. 이 컴퓨터는 System Center Data Access 서비스를 실행해야 합니다. 기본값은 현재 관리 그룹 연결용 컴퓨터입니다.

유효한 형식에는 NetBIOS 이름, IP 주소 또는 FQDN(정규화된 도메인 이름)이 포함됩니다. 로컬 컴퓨터를 지정하려면 컴퓨터 이름, "localhost" 또는 점(.)을 입력하세요.

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

-Credential

관리 그룹 연결을 실행할 사용자 계정을 지정합니다. 서버가 지정된 경우 ComputerName 매개 변수에 지정된 서버에 대한 액세스 권한이 계정에 있어야 합니다. 기본값은 현재 사용자입니다.

Get-Credential cmdlet에서 반환되는 PSCredential 개체를 입력할 수 있습니다.

Type:System.Management.Automation.PSCredential
Position:Named
Default value:Current user context
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DisplayName

검색할 개체 템플릿의 표시 이름을 지정합니다.

Type:System.String[]
Position:1
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Id

검색할 개체 템플릿의 ID를 지정합니다.

Type:System.Guid[]
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-ManagementPack

검색할 개체 템플릿을 포함하는 관리 팩을 지정합니다. Get-SCSMManagementPack cmdlet에서 반환되는 ManagementPack 개체를 입력할 수 있습니다.

Type:Microsoft.EnterpriseManagement.Configuration.ManagementPack[]
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Name

검색할 개체 템플릿의 이름을 지정합니다.

Type:System.String[]
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-SCSession

관리 서버에 대한 연결을 지정합니다. 기본값은 현재 관리 그룹 연결입니다.

Get-SCSMManagementGroupConnection cmdlet에서 반환되는 관리 그룹 연결 개체를 입력할 수 있습니다.

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

입력

System.Guid

개체 템플릿의 GUID를 Get-SCSMObjectTemplate cmdlet의 ID 매개 변수로 파이프할 수 있습니다.

Microsoft.EnterpriseManagement.Configuration.ManagementPack

관리 팩 개체를 Get-SCSMObjectTemplate cmdlet의 ManagementPack 매개 변수로 파이프할 수 있습니다.

System.String

템플릿 이름을 Get-SCSMObjectTemplate cmdlet의 Name 매개 변수로 파이프할 수 있습니다.

출력

Microsoft.EnterpriseManagement.Configuration.ManagementPackObjectTemplate

이 cmdlet은 모든 템플릿 개체를 검색합니다.