New-SCOMManagementPack
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
New-SCOMManagementPack
Creates a new management pack.
Syntax
Parameter Set: Default
New-SCOMManagementPack [-ComputerName <String> ] [-Credential <PSCredential> ] [-Description <String> ] [-DisplayName <String> ] [-PassThru] [-SCSession <Connection> ] [ <CommonParameters>]
Detailed Description
The New-SCOMManagementPack cmdlet creates a new management pack.
Parameters
-ComputerName<String>
Specifies the name of a computer to establish a connection with. The computer must be running the System Center Data Access Service. The default value is the computer for the current management group connection. Valid formats include a NetBIOS name, an IP address, or a fully qualified domain name. To specify the local computer, type the computer name, "localhost", or a dot (.).
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
localhost |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-Credential<PSCredential>
Specifies a user account under which the management group connection will run, that must have access to the server identifed by the ComputerName parameter (if specified). Default value is the current user. You can enter a PSCredential object that is returned by the Get-Credential cmdlet.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-Description<String>
The description of the new management pack
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-DisplayName<String>
Specifies the display name of the management pack to create.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-PassThru
Specifies the output object that represents the new management pack. This output object can be passed to other cmdlets.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-SCSession<Connection>
Specifies a connection to a management server. Default value is the current management group connection.
You can enter a management group connection object that is returned by the Get-SCOMManagementGroupConnection or the Get- SCOMManagementGroupConnection cmdlet.
Aliases |
none |
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
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
- You cannot pipe input to this cmdlet.
Outputs
The output type is the type of the objects that the cmdlet emits.
- This cmdlet does not generate any output.
Examples
-------------------------- EXAMPLE 1 --------------------------
The command in this example creates a new management pack.
PS C:\>PS C:\>New-SCOMManagementPack -DisplayName MyNewMP -Description "A blank management pack"