New-CMHardwareRequirement
New-CMHardwareRequirement
Creates a Configuration Manager hardware requirement object for a product.
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 SP1 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 the name of a software product.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-Confirm
Prompts you for confirmation before running the cmdlet.
Required? |
false |
Position? |
named |
Default Value |
false |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
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 (https://go.microsoft.com/fwlink/p/?LinkID=113216).
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"