New-CMHardwareRequirement
Updated: March 1, 2013
Applies To: System Center 2012 Configuration Manager SP1
New-CMHardwareRequirement
Syntax
Parameter Set: New New-CMHardwareRequirement -MinCpu <Int32> -MinDiskFree <Int64> -MinDiskSize <Int64> -MinRam <Int64> -Product <String> [-Confirm] [-WhatIf] [ <CommonParameters>]
Detailed Description
The New-CMHardwareRequirement cmdlet creates a hardware requirement object for a product.
Microsoft System Center 2012 Configuration Manager manages Asset Intelligence information, including hardware requirements, for different software products. You can add, modify, or delete your own hardware requirements, but you cannot change built-in hardware requirement objects.
Parameters
-MinCpu<Int32>
Specifies the minimum CPU speed, in megahertz (MHz), required for a software product.
Aliases | none |
Required? | true |
Position? | named |
Default Value | none |
Accept Pipeline Input? | True (ByPropertyName) |
Accept Wildcard Characters? | false |
-MinDiskFree<Int64>
Specifies the minimum amount of available disk memory, in kilobytes (KB), required for a software product.
Aliases | none |
Required? | true |
Position? | named |
Default Value | none |
Accept Pipeline Input? | True (ByPropertyName) |
Accept Wildcard Characters? | false |
-MinDiskSize<Int64>
Specifies the minimum disk size, in kilobytes, required for a software product.
Aliases | none |
Required? | true |
Position? | named |
Default Value | none |
Accept Pipeline Input? | True (ByPropertyName) |
Accept Wildcard Characters? | false |
-MinRam<Int64>
Specifies the minimum amount of random access memory (RAM), in kilobytes, required for a software product.
Aliases | none |
Required? | true |
Position? | named |
Default Value | none |
Accept Pipeline Input? | True (ByPropertyName) |
Accept Wildcard Characters? | false |
-Product<String>
Specifies a software product name.
Aliases | none |
Required? | true |
Position? | named |
Default Value | none |
Accept Pipeline Input? | True (ByPropertyName) |
Accept Wildcard Characters? | false |
-Confirm
Prompts you for confirmation before executing the command.
Required? | false |
Position? | named |
Default Value | false |
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 | false |
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.
Outputs
The output type is the type of the objects that the cmdlet emits.
Examples
Example 1: Create a hardware requirement object
This command creates a hardware requirement object for a software product called Accounts Program. The command specifies the minimum hardware requirements for the product. If you do not include all of these required parameters, the system prompts you for values.
PS C:\> New-CMHardwareRequirement -MinCpu 233 -MinDiskFree 1572864 -MinDiskSize 10485760 -MinRam 131072 -Product "Accounts Program"
IsLocal :
MinCPU : 233
MinDiskFree : 1572864
MinDiskSize : 10485760
MinRAM : 131072
Product : Accounts Program
State :
