> 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/get-pmpcapplication.md). Agents can also search and read this documentation through its [MCP server](https://docs.patchmypc.com/~gitbook/mcp).

# Get-PmpcApplication

Gets the details of a single public catalog application.

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

## Synopsis

Gets the details of a single public catalog application.

## Syntax

{% code collapsedlinecount="10" %}

```powershell
Get-PmpcApplication [-ProductId] <Guid> [-ConnectionId <Guid>] [-OsType <OSType>]
  [<CommonParameters>]
```

{% endcode %}

## Description

Returns the metadata of one public catalog application from Patch My PC.

## Parameters

### -ConnectionId

Intune connection scoping the lookup. If omitted, the session's selected connection is used.

| Attribute      | Value         |
| -------------- | ------------- |
| Type           | `System.Guid` |
| Required       | False         |
| Position       | Named         |
| Pipeline input | False         |
| Aliases        | None          |

### -OsType

The operating system to resolve the product for. Defaults to Windows when omitted, matching this cmdlet's existing behavior. MacOS additionally requires the customer to be entitled to the "macOS Applications" feature; when they are not, the product is reported as not found rather than the command failing.

| Attribute       | Value          |
| --------------- | -------------- |
| Type            | `OSType`       |
| Required        | False          |
| Position        | Named          |
| Pipeline input  | False          |
| Aliases         | None           |
| Accepted values | Windows, MacOS |

### -ProductId

ID of the public catalog application to retrieve.

| Attribute      | Value                          |
| -------------- | ------------------------------ |
| Type           | `System.Guid`                  |
| Required       | True                           |
| Position       | 0                              |
| Pipeline input | True (ByValue, ByPropertyName) |
| Aliases        | Id                             |

### 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

### System.Guid

The product ID, by value or by the Id/ProductId property.

## Outputs

### PublicApplicationDto

The public catalog application's details.

## Examples

### Example 1: Get a public catalog application

{% code collapsedlinecount="10" %}

```powershell
Get-PmpcApplication -ProductId $productId
```

{% endcode %}

Returns the public catalog application details using the session's selected connection.

### Example 2: Get with an explicit connection

{% code collapsedlinecount="10" %}

```powershell
Get-PmpcApplication -ProductId $productId -ConnectionId $connectionId
```

{% endcode %}

Resolves the product from the Patch My PC public catalog using the specified connection.

### Example 3: Look up search results

{% code collapsedlinecount="10" %}

```powershell
Find-PmpcApplication -DisplayName '7-Zip' | Get-PmpcApplication
```

{% endcode %}

Pipes each search result in by its Id property to fetch full public application details.

## Notes

Resolving a public catalog application requires an Intune connection. If -ConnectionId is omitted, the session's selected connection is used.

## Related links

* [Find-PmpcApplication](https://docs.patchmypc.com/patch-my-pc-cloud-api/powershell/find-pmpcapplication.md)
* [Get-PmpcConnection](https://docs.patchmypc.com/patch-my-pc-cloud-api/powershell/get-pmpcconnection.md)
* [PowerShell module](https://docs.patchmypc.com/patch-my-pc-cloud-api/powershell.md)

## See also

* SDK method: [GetPublicApplicationDetailsAsync](https://docs.patchmypc.com/patch-my-pc-cloud-api/sdk/applications.md#getpublicapplicationdetailsasync)
* REST operation: [`GET /v1/api/apps/public/{productId}`](https://docs.patchmypc.com/patch-my-pc-cloud-api/rest-api/applications.md#get-public-application-details)
* [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/get-pmpcapplication.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.
