> For the complete documentation index, see [llms.txt](https://docs.patchmypc.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.patchmypc.com/patch-my-pc-cloud-api/powershell/new-pmpcdeploymentrequirement.md). Agents can also search and read this documentation through its [MCP server](https://docs.patchmypc.com/~gitbook/mcp).

# New-PmpcDeploymentRequirement

Builds a deployment's installation requirements.

[Back to the Cloud Customer API overview](https://docs.patchmypc.com/patch-my-pc-cloud-api)

## Synopsis

Builds a deployment's installation requirements.

## Syntax

{% code collapsedlinecount="10" %}

```powershell
New-PmpcDeploymentRequirement [[-DisableArchitecture] <ApplicableArchitecture[]>]
  [-MinimumWindowsOSVersion <WindowsOSVersion>] [-MinimumNumberOfProcessors <Int32>]
  [-MinimumMemoryInMB <Int32>] [-MinimumCpuSpeedInMHz <Int32>] [-FileRule <FileRuleDto[]>]
  [-RegistryRule <RegistryRuleDto[]>] [-ScriptRule <ScriptRuleDto[]>] [<CommonParameters>]
```

{% endcode %}

## Description

Creates the requirements a deployment must satisfy before it installs, as accepted by Set-PmpcDeployment.

Separate from New-PmpcRequirement because the deployment wire type is not the application one. Its lists are nullable, so a list you do not mention is left as it is rather than emptied, and its architecture parameter is inverted: it names the architectures to disable.

## Parameters

### -DisableArchitecture

Architectures the deployment must not install on.

| Attribute       | Value                        |
| --------------- | ---------------------------- |
| Type            | `ApplicableArchitecture[]`   |
| Required        | False                        |
| Position        | 0                            |
| Pipeline input  | True (ByPropertyName)        |
| Aliases         | DisableArchitectures         |
| Accepted values | None, X86, X64, Arm, Neutral |

### -FileRule

File and folder rules that must pass.

| Attribute      | Value                 |
| -------------- | --------------------- |
| Type           | `FileRuleDto[]`       |
| Required       | False                 |
| Position       | Named                 |
| Pipeline input | True (ByPropertyName) |
| Aliases        | FileRules             |

### -MinimumCpuSpeedInMHz

Slowest CPU the deployment supports, in megahertz.

| Attribute      | Value                 |
| -------------- | --------------------- |
| Type           | `System.Int32`        |
| Required       | False                 |
| Position       | Named                 |
| Pipeline input | True (ByPropertyName) |
| Aliases        | None                  |

### -MinimumMemoryInMB

Least physical memory required, in megabytes.

| Attribute      | Value                 |
| -------------- | --------------------- |
| Type           | `System.Int32`        |
| Required       | False                 |
| Position       | Named                 |
| Pipeline input | True (ByPropertyName) |
| Aliases        | None                  |

### -MinimumNumberOfProcessors

Fewest logical processors required.

| Attribute      | Value                 |
| -------------- | --------------------- |
| Type           | `System.Int32`        |
| Required       | False                 |
| Position       | Named                 |
| Pipeline input | True (ByPropertyName) |
| Aliases        | None                  |

### -MinimumWindowsOSVersion

Oldest Windows version the deployment supports.

| Attribute       | Value                                                                                                                                                                                                                                                                                                      |
| --------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Type            | `WindowsOSVersion`                                                                                                                                                                                                                                                                                         |
| Required        | False                                                                                                                                                                                                                                                                                                      |
| Position        | Named                                                                                                                                                                                                                                                                                                      |
| Pipeline input  | True (ByPropertyName)                                                                                                                                                                                                                                                                                      |
| Aliases         | None                                                                                                                                                                                                                                                                                                       |
| Accepted values | None, V8\_0, V8\_1, V10\_0, Windows10\_1607, Windows10\_1703, Windows10\_1709, Windows10\_1803, Windows10\_1809, Windows10\_1903, Windows10\_1909, Windows10\_2004, Windows10\_20H2, Windows10\_21H1, Windows10\_21H2, Windows10\_22H2, Windows11\_21H2, Windows11\_22H2, Windows11\_23H2, Windows11\_24H2 |

### -RegistryRule

Registry rules that must pass.

| Attribute      | Value                 |
| -------------- | --------------------- |
| Type           | `RegistryRuleDto[]`   |
| Required       | False                 |
| Position       | Named                 |
| Pipeline input | True (ByPropertyName) |
| Aliases        | RegistryRules         |

### -ScriptRule

Script rules that must pass.

| Attribute      | Value                 |
| -------------- | --------------------- |
| Type           | `ScriptRuleDto[]`     |
| Required       | False                 |
| Position       | Named                 |
| Pipeline input | True (ByPropertyName) |
| Aliases        | ScriptRules           |

### CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about\_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).

## Inputs

### None

This cmdlet does not accept pipeline input by value.

## Outputs

### EditDeploymentCustomRequirementsRequest

The deployment requirement set.

## Examples

### Example 1: Block 32-bit installs

{% code collapsedlinecount="10" %}

```powershell
$requirements = New-PmpcDeploymentRequirement -DisableArchitecture X86
$config = New-PmpcDeploymentConfiguration -CustomRequirements $requirements
Set-PmpcDeployment -ProductId $productId -DeploymentId $deploymentId -Configuration $config
```

{% endcode %}

Stops the deployment installing on x86, leaving every other requirement untouched.

### Example 2: Raise the memory floor

{% code collapsedlinecount="10" %}

```powershell
New-PmpcDeploymentRequirement -MinimumMemoryInMB 16384
```

{% endcode %}

Sets only the memory requirement; unmentioned rules are left alone.

## Notes

This cmdlet makes no network call and does not require a session.

## Related links

* [New-PmpcRequirement](https://docs.patchmypc.com/patch-my-pc-cloud-api/powershell/new-pmpcrequirement.md)
* [Set-PmpcDeployment](https://docs.patchmypc.com/patch-my-pc-cloud-api/powershell/set-pmpcdeployment.md)
* [PowerShell module](https://docs.patchmypc.com/patch-my-pc-cloud-api/powershell.md)

## See also

This cmdlet has no SDK method or REST operation of its own.

* [Cross-reference: cmdlets, SDK methods, and REST operations](https://docs.patchmypc.com/patch-my-pc-cloud-api/cross-reference.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.patchmypc.com/patch-my-pc-cloud-api/powershell/new-pmpcdeploymentrequirement.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
