Add MPToolManagementPackReference - AndreasSobczyk/MPTool GitHub Wiki
#Add-MPToolManagementPackReference Add a management pack reference to a management pack. Returns an object of [Microsoft.EnterpriseManagement.Configuration.ManagementPack]
###Parameters
- ManagementServerFQDN [string] – FQDN of the management server to connect.
- ManagementPackName [string] – Name of the management pack.
- ReferenceManagementPackName [string] – Name of the reference management pack to add.
- ReferenceManagementPackAlias [string] – Alias name for the reference.
###Example Adds the management pack Contoso.Library as a reference in Contoso.Monitoring with the alias ContosoLibrary
Add-MPToolManagementPackReference -ManagementServerFQDN scom01.contoso.com `
-ManagementPackName "Contoso.Monitoring" `
-ReferenceManagementPackName "Contoso.Monitoring" `
-ReferenceManagementPackAlias "ContosoLibrary"