get-managementpack-by-name operation
The get-managementpack-by-name operation retrieves the details of the management pack that is identified by the specified name.
The following table describes the <items> XML and request elements for the get-managementpack-by-name operation:
Adapter request elements for the get-managementpack-by-name operation
The following figure illustrates a sample adapter request for the get-managementpack-by-name operation:
Sample adapter request for the get-managementpack-by-name operation
<scom-request>
<operation-name>get-managementpack-by-name</operation-name>
<command-request>
<timeout-secs>120</timeout-secs>
<command-parameters>
<managementpack-name>Microsoft.Windows.Client.BusinessCritical</managementpack-name>
</command-parameters>
</command-request>
</scom-request>
<operation-name>get-managementpack-by-name</operation-name>
<command-request>
<timeout-secs>120</timeout-secs>
<command-parameters>
<managementpack-name>Microsoft.Windows.Client.BusinessCritical</managementpack-name>
</command-parameters>
</command-request>
</scom-request>
The following figure illustrates the adapter response for the sample request:
Sample adapter response for the get-managementpack-by-name operation
<scom-response>
<metadata>
<status>success</status>
<count>1</count>
</metadata>
<commands-output>
<command-output>
<metadata>
<command>./Microsoft.EnterpriseManagement.OperationsManager.ClientShell.
Startup.ps1;get-managementpack -name
Microsoft.Windows.Client.BusinessCritical</command>
<execution-milliseconds>4844</execution-milliseconds>
<exit-code>0</exit-code>
<status>success</status>
<count>1</count>
</metadata>
<output>
<item>
<Name>Microsoft.Windows.Client.BusinessCritical</Name>
<TimeCreated>1/27/2009 12:05:30 PM</TimeCreated>
<LastModified>1/27/2009 12:05:30 PM</LastModified>
<KeyToken />
<Version>6.0.6278.0</Version>
<Id>d6319b70-2cc9-2a12-83b3-0f585cbd5d39</Id>
<VersionId>0ee13224-c4f8-4a84-a94c-5eb811ffbd48</VersionId>
<References>{Microsoft.Windows.Library, Microsoft.Windows.Client.Library,
Microsoft.SystemCenter.InstanceGroup.Library, System.Library...}</References>
<Sealed>False</Sealed>
<ContentReadable>True</ContentReadable>
<FriendlyName>Microsoft Windows Client Business Critical MP</FriendlyName>
<DisplayName>Windows Client Business Critical Operating Systems</DisplayName>
<Description>Microsoft Windows Client Business Critical Operating
Systems Management Pack: This management pack discovers and monitors
Business Critical Windows Client Operating Systems.</Description>
<DefaultLanguageCode>ENU</DefaultLanguageCode>
<LockObject>System.Object</LockObject>
</item>
</output>
</command-output>
</commands-output>
</scom-response>
<metadata>
<status>success</status>
<count>1</count>
</metadata>
<commands-output>
<command-output>
<metadata>
<command>./Microsoft.EnterpriseManagement.OperationsManager.ClientShell.
Startup.ps1;get-managementpack -name
Microsoft.Windows.Client.BusinessCritical</command>
<execution-milliseconds>4844</execution-milliseconds>
<exit-code>0</exit-code>
<status>success</status>
<count>1</count>
</metadata>
<output>
<item>
<Name>Microsoft.Windows.Client.BusinessCritical</Name>
<TimeCreated>1/27/2009 12:05:30 PM</TimeCreated>
<LastModified>1/27/2009 12:05:30 PM</LastModified>
<KeyToken />
<Version>6.0.6278.0</Version>
<Id>d6319b70-2cc9-2a12-83b3-0f585cbd5d39</Id>
<VersionId>0ee13224-c4f8-4a84-a94c-5eb811ffbd48</VersionId>
<References>{Microsoft.Windows.Library, Microsoft.Windows.Client.Library,
Microsoft.SystemCenter.InstanceGroup.Library, System.Library...}</References>
<Sealed>False</Sealed>
<ContentReadable>True</ContentReadable>
<FriendlyName>Microsoft Windows Client Business Critical MP</FriendlyName>
<DisplayName>Windows Client Business Critical Operating Systems</DisplayName>
<Description>Microsoft Windows Client Business Critical Operating
Systems Management Pack: This management pack discovers and monitors
Business Critical Windows Client Operating Systems.</Description>
<DefaultLanguageCode>ENU</DefaultLanguageCode>
<LockObject>System.Object</LockObject>
</item>
</output>
</command-output>
</commands-output>
</scom-response>
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*