Export (0) Print
Expand All
Expand Minimize

Set-CMHardwareRequirement

Updated: February 7, 2014

Applies To: System Center 2012 R2 Configuration Manager

Set-CMHardwareRequirement

Changes Configuration Manager hardware requirement settings for a product.

Syntax

Parameter Set: SetByName
Set-CMHardwareRequirement -Product <String> [-MinCpu <Int32> ] [-MinDiskFree <Int64> ] [-MinDiskSize <Int64> ] [-MinRam <Int64> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SetByValueMandatory
Set-CMHardwareRequirement -InputObject <IResultObject> [-MinCpu <Int32> ] [-MinDiskFree <Int64> ] [-MinDiskSize <Int64> ] [-MinRam <Int64> ] [-Confirm] [-WhatIf] [ <CommonParameters>]




Detailed Description

The Set-CMHardwareRequirement cmdlet changes settings for hardware requirements for software products.

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 requirements.

You can use this cmdlet to modify the minimum requirements associated with a software product or change the name that System Center 2012 Configuration Manager uses for a product. You can specify a product by name or obtain a product by using the Get-CMHardwareRequirement cmdlet.

Parameters

-InputObject<IResultObject>

Specifies a hardware requirement object. To obtain a hardware requirement object, use the Get-CMHardwareRequirement cmdlet.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-MinCpu<Int32>

Specifies a minimum CPU speed, in megahertz (MHz), required for a software product.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-MinDiskFree<Int64>

Specifies a minimum amount of available disk memory, in kilobytes (KB), required for a software product.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-MinDiskSize<Int64>

Specifies a minimum disk size, in kilobytes, required for a software product.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-MinRam<Int64>

Specifies a minimum amount of random access memory (RAM), in kilobytes, required for a software product.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Product<String>

Specifies the name of 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: Change minimum RAM value

This command sets the minimum RAM value for a specified product.


PS C:\> Set-CMHardwareRequirement -Product "Accounts Program" -MinRam 161072

Example 2: Change minimum disk size value for a hardware requirements object

The first command gets the hardware requirements object for Accounts Program and stores it in the $CMHR variable.

The second command changes the minimum disk size for the object stored in $CMHR.


PS C:\> $CMHR = Get-CMHardwareRequirement -Product "Accounts Program"
PS C:\> Set-CMHardwareRequirement -InputObject $CMHR -MinDiskSize 1600000

Related topics

 
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft