Get-SCObjectTemplate
オブジェクト テンプレートを取得します。
構文
Empty (既定)
Get-SCObjectTemplate
[-SCSession <Connection[]>]
[-ComputerName <String[]>]
[-Credential <PSCredential>]
[<CommonParameters>]
FromClassDisplayName
Get-SCObjectTemplate
[-DisplayName] <String[]>
[-SCSession <Connection[]>]
[-ComputerName <String[]>]
[-Credential <PSCredential>]
[<CommonParameters>]
FromClassGuids
Get-SCObjectTemplate
[-Id] <Guid[]>
[-SCSession <Connection[]>]
[-ComputerName <String[]>]
[-Credential <PSCredential>]
[<CommonParameters>]
FromManagementPack
Get-SCObjectTemplate
[-ManagementPack] <ManagementPack[]>
[-SCSession <Connection[]>]
[-ComputerName <String[]>]
[-Credential <PSCredential>]
[<CommonParameters>]
FromClassName
Get-SCObjectTemplate
[-Name] <String[]>
[-SCSession <Connection[]>]
[-ComputerName <String[]>]
[-Credential <PSCredential>]
[<CommonParameters>]
説明
Get-SCObjectTemplate コマンドレットは、Service Managerで定義されているオブジェクト テンプレートを取得します。
例
例 1: すべてのオブジェクト テンプレートを取得する
PS C:\>Get-SCObjectTemplate
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-SCObjectTemplate -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[] |
| 規定値: | None |
| ワイルドカードのサポート: | False |
| DontShow: | False |
パラメーター セット
(All)
| 配置: | Named |
| 必須: | False |
| パイプラインからの値: | False |
| プロパティ名別のパイプラインからの値: | False |
| 残りの引数からの値: | False |
-Credential
管理グループ接続を実行するユーザー アカウントを指定します。 アカウントは、 ComputerName パラメーターで指定されているサーバー (サーバーが指定されている場合) にアクセスできる必要があります。 既定値は現在のユーザーです。
Get-Credential コマンドレットによって返される PSCredential オブジェクトを入力できます。
パラメーターのプロパティ
| 型: | System.Management.Automation.PSCredential |
| 規定値: | Current user context |
| ワイルドカードのサポート: | False |
| DontShow: | False |
パラメーター セット
(All)
| 配置: | Named |
| 必須: | False |
| パイプラインからの値: | False |
| プロパティ名別のパイプラインからの値: | False |
| 残りの引数からの値: | False |
-DisplayName
取得するオブジェクト テンプレートの表示名を指定します。
パラメーターのプロパティ
| 型: | System.String[] |
| 規定値: | None |
| ワイルドカードのサポート: | False |
| DontShow: | False |
パラメーター セット
FromClassDisplayName
| 配置: | 1 |
| 必須: | True |
| パイプラインからの値: | False |
| プロパティ名別のパイプラインからの値: | False |
| 残りの引数からの値: | False |
-Id
取得するオブジェクト テンプレートの ID を指定します。
パラメーターのプロパティ
| 型: | System.Guid[] |
| 規定値: | None |
| ワイルドカードのサポート: | False |
| DontShow: | False |
パラメーター セット
FromClassGuids
| 配置: | 1 |
| 必須: | True |
| パイプラインからの値: | True |
| プロパティ名別のパイプラインからの値: | False |
| 残りの引数からの値: | False |
-ManagementPack
取得するオブジェクト テンプレートを含む管理パックを指定します。 Get-SCManagementPack コマンドレットによって返される ManagementPack オブジェクトを入力できます。
パラメーターのプロパティ
| 型: | Microsoft.EnterpriseManagement.Configuration.ManagementPack[] |
| 規定値: | None |
| ワイルドカードのサポート: | False |
| DontShow: | False |
パラメーター セット
FromManagementPack
| 配置: | 1 |
| 必須: | True |
| パイプラインからの値: | True |
| プロパティ名別のパイプラインからの値: | False |
| 残りの引数からの値: | False |
-Name
取得するオブジェクト テンプレートの名前を指定します。
パラメーターのプロパティ
| 型: | System.String[] |
| 規定値: | None |
| ワイルドカードのサポート: | False |
| DontShow: | False |
パラメーター セット
FromClassName
| 配置: | 1 |
| 必須: | True |
| パイプラインからの値: | True |
| プロパティ名別のパイプラインからの値: | False |
| 残りの引数からの値: | False |
-SCSession
管理サーバーへの接続を指定します。 既定値は、現在の管理グループ接続です。
Get-SCManagementGroupConnection コマンドレットによって返される管理グループ接続オブジェクトを入力できます。
パラメーターのプロパティ
| 型: | Microsoft.SystemCenter.Core.Connection.Connection[] |
| 規定値: | None |
| ワイルドカードのサポート: | False |
| DontShow: | False |
パラメーター セット
(All)
| 配置: | Named |
| 必須: | False |
| パイプラインからの値: | False |
| プロパティ名別のパイプラインからの値: | False |
| 残りの引数からの値: | False |
CommonParameters
このコマンドレットでは、一般的なパラメーター -Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction、-WarningVariable の各パラメーターがサポートされています。 詳細については、about_CommonParametersを参照してください。
入力
System.Guid
オブジェクト テンプレートの GUID を Get-SCObjectTemplate コマンドレットの Id パラメーターにパイプ処理できます。
Microsoft.EnterpriseManagement.Configuration.ManagementPack
管理パック オブジェクトを Get-SCObjectTemplate コマンドレットの ManagementPack パラメーターにパイプ処理できます。
System.String
テンプレートの名前を Get-SCObjectTemplate コマンドレットの Name パラメーターにパイプ処理できます。
出力
Microsoft.EnterpriseManagement.Configuration.ManagementPackObjectTemplate
このコマンドレットは、すべてのテンプレート オブジェクトを取得します。