Get-SCSMObjectTemplate
オブジェクト テンプレートを取得します。
構文
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>]
説明
Get-SCSMObjectTemplate コマンドレットは、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 データ アクセス サービスを実行している必要があります。 既定値は、現在の管理グループ接続のコンピューターです。
有効な形式には、NetBIOS 名、IP アドレス、または完全修飾ドメイン名 (FQDN) があります。 ローカル コンピューターを指定するには、コンピューター名、"localhost"、またはドット (.) を入力します。
型: | System.String[] |
配置: | Named |
規定値: | None |
必須: | False |
パイプライン入力を受け取る: | False |
ワイルドカード文字を受け取る: | False |
-Credential
管理グループ接続を実行するユーザー アカウントを指定します。 アカウントは、 ComputerName パラメーターで指定されているサーバー (サーバーが指定されている場合) にアクセスできる必要があります。 既定値は現在のユーザーです。
Get-Credential コマンドレットによって返される PSCredential オブジェクトを入力できます。
型: | System.Management.Automation.PSCredential |
配置: | Named |
規定値: | Current user context |
必須: | False |
パイプライン入力を受け取る: | False |
ワイルドカード文字を受け取る: | False |
-DisplayName
取得するオブジェクト テンプレートの表示名を指定します。
型: | System.String[] |
配置: | 1 |
規定値: | None |
必須: | True |
パイプライン入力を受け取る: | False |
ワイルドカード文字を受け取る: | False |
-Id
取得するオブジェクト テンプレートの ID を指定します。
型: | System.Guid[] |
配置: | 1 |
規定値: | None |
必須: | True |
パイプライン入力を受け取る: | True |
ワイルドカード文字を受け取る: | False |
-ManagementPack
取得するオブジェクト テンプレートを含む管理パックを指定します。 Get-SCSMManagementPack コマンドレットによって返される ManagementPack オブジェクトを入力できます。
型: | Microsoft.EnterpriseManagement.Configuration.ManagementPack[] |
配置: | 1 |
規定値: | None |
必須: | True |
パイプライン入力を受け取る: | True |
ワイルドカード文字を受け取る: | False |
-Name
取得するオブジェクト テンプレートの名前を指定します。
型: | System.String[] |
配置: | 1 |
規定値: | None |
必須: | True |
パイプライン入力を受け取る: | True |
ワイルドカード文字を受け取る: | False |
-SCSession
管理サーバーへの接続を指定します。 既定値は、現在の管理グループ接続です。
Get-SCSMManagementGroupConnection コマンドレットによって返される管理グループ接続オブジェクトを入力できます。
型: | Microsoft.SystemCenter.Core.Connection.Connection[] |
配置: | Named |
規定値: | None |
必須: | False |
パイプライン入力を受け取る: | False |
ワイルドカード文字を受け取る: | False |
入力
System.Guid
オブジェクト テンプレートの GUID を Get-SCSMObjectTemplate コマンドレットの Id パラメーターにパイプできます。
Microsoft.EnterpriseManagement.Configuration.ManagementPack
管理パック オブジェクトを Get-SCSMObjectTemplate コマンドレットの ManagementPack パラメーターにパイプ処理できます。
System.String
テンプレートの名前を Get-SCSMObjectTemplate コマンドレットの Name パラメーターにパイプ処理できます。
出力
Microsoft.EnterpriseManagement.Configuration.ManagementPackObjectTemplate
このコマンドレットは、すべてのテンプレート オブジェクトを取得します。