Install-ManagementPack

Install-ManagementPack

Installs a management pack.

Syntax

Parameter Set: FromFilePath
Install-ManagementPack [-FilePath] <String> [[-Path] <String[]> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Detailed Description

Installs a management pack.

Parameters

-FilePath<String>

Specifies the file that contains the management pack. This file must have either a .xml or .mp file extension and you must include the file extension in the value of this parameter.

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

-Path<String[]>

Specifies the paths to the management groups into which to install the specified management packs. To enter more than one value, separate them by using commas.

Aliases

none

Required?

false

Position?

2

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before executing the command.

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

Describes what would happen if you executed the command without actually executing the command.

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters

Notes

  • For more information, type "Get-Help Install-ManagementPack -detailed". For technical information, type "Get-Help Install-ManagementPack -full".
    When specifying multiple values for a parameter, use commas to separate the values. For example, "<parameter-name> <value1>, <value2>".

Examples

-------------- EXAMPLE 1 --------------

This command installs the Microsoft.Windows.Server.2003 sealed management pack.

C:\PS>install-managementpack -filepath C:\mps\Microsoft.Windows.Server.2003.mp

Export-ManagementPack

Uninstall-ManagementPack