> For the complete documentation index, see [llms.txt](https://docs.parallels.com/landing/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/pubitem.md).

# PubItem

## NAMESPACE

RASAdminEngine.Core.OutputModels

## DESCRIPTION

RAS Published Item

## INHERITED FROM

[RASSerilazableObj](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/rasserilazableobj.md)

⇒

[RASListObj](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/raslistobj.md)

⇒

PubItem

## INTERFACES

* ISerializable
* IComparable

## PUBLIC PROPERTIES

| Type                                                                                                                              | Name                    | Description                                                                                                                                                                                                                |
| --------------------------------------------------------------------------------------------------------------------------------- | ----------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| String                                                                                                                            | AdminCreate             | Inherited from [RASListObj](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/raslistobj.md) User who created the object.                                                                      |
| String                                                                                                                            | AdminLastMod            | Inherited from [RASListObj](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/raslistobj.md) User who last modified the object.                                                                |
| String                                                                                                                            | Description             | Description of the published item.                                                                                                                                                                                         |
| Boolean                                                                                                                           | Enabled                 | Whether the published item is enabled or not.                                                                                                                                                                              |
| [PubResourceEnabledMode](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/pubresourceenabledmode.md) | EnabledMode             | Represents the availability status of the published resource.                                                                                                                                                              |
| [PubItemFilter](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/pubitemfilter.md)                   | Filter                  | The PubItem Filter object.                                                                                                                                                                                                 |
| UInt32                                                                                                                            | Id                      | ID of the object.                                                                                                                                                                                                          |
| Boolean                                                                                                                           | InheritMaintenance      | Inherit Maintenance.                                                                                                                                                                                                       |
| [MaintenanceMessages](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/maintenancemessages.md)       | MaintenanceMessages     | Contains a set of maintenance messages in different languages.                                                                                                                                                             |
| String                                                                                                                            | Name                    | Name of the published item.                                                                                                                                                                                                |
| UInt32                                                                                                                            | ParentId                | ID of the parent folder of the published item. List<[PubPreferredRoute](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/pubpreferredroute.md)> PreferredRoutes The list of Preferred Routes. |
| Boolean                                                                                                                           | PreferredRoutingEnabled | Whether Preferred Routing is enabled or not.                                                                                                                                                                               |
| UInt32                                                                                                                            | PreviousId              | ID of the previous published item. List\<UInt32> PublishToSite List of the IDs of all the sites this item is published to.                                                                                                 |
| Boolean                                                                                                                           | ReplicateMaintenance    | Replicate Maintenance.                                                                                                                                                                                                     |
| DateTime                                                                                                                          | TimeCreate              | Inherited from [RASListObj](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/raslistobj.md) Time when the object was created.                                                                 |
| DateTime                                                                                                                          | TimeLastMod             | Inherited from [RASListObj](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/raslistobj.md) Time when the object was last modified.                                                           |
| [RASPubObject](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/raspubobject.md)                     | Type                    | Type of published item: 0=Any, 1=Folder, 2=RDSApp, 3=RDSDesktop, 4=VDIDesktop, 5=PCDesktop, 6=PCApp, 7=VDIApp.                                                                                                             |

## PUBLIC METHODS

| Type                                                                                                                                                                                       | Name                   | Description                                                                                                                            |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| Int32                                                                                                                                                                                      | CompareTo (Object obj) | Inherited from [RASSerilazableObj](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/rasserilazableobj.md) |
| Boolean                                                                                                                                                                                    | Equals (Object obj)    | Inherited from [RASSerilazableObj](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/rasserilazableobj.md) |
| Int32                                                                                                                                                                                      | GetHashCode ()         | Inherited from [RASSerilazableObj](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/rasserilazableobj.md) |
| Type                                                                                                                                                                                       | GetType ()             | Boolean                                                                                                                                |
| ShouldSerializeHDIconId ()                                                                                                                                                                 | Boolean                | ShouldSerializeIconId ()                                                                                                               |
| String                                                                                                                                                                                     | ToString ()            | ### References to Commands                                                                                                             |
|                                                                                                                                                                                            |                        |                                                                                                                                        |
| [Add-RASPubItemPreferredRoute](https://github.com/Parallels-Corp/DI-OPS-prls-docs/blob/master/ras/API-guides/v21-PowerShell-API/MD/RASAdmin/cmdlets/Add-RASPubItemPreferredRoute.md)       |                        |                                                                                                                                        |
| [Get-RASPubAppFileExt](https://github.com/Parallels-Corp/DI-OPS-prls-docs/blob/master/ras/API-guides/v21-PowerShell-API/MD/RASAdmin/cmdlets/Get-RASPubAppFileExt.md)                       |                        |                                                                                                                                        |
| [Invoke-RASPubItemCmd](https://github.com/Parallels-Corp/DI-OPS-prls-docs/blob/master/ras/API-guides/v21-PowerShell-API/MD/RASAdmin/cmdlets/Invoke-RASPubItemCmd.md)                       |                        |                                                                                                                                        |
| [New-RASPubAVDDesktop](https://github.com/Parallels-Corp/DI-OPS-prls-docs/blob/master/ras/API-guides/v21-PowerShell-API/MD/RASAdmin/cmdlets/New-RASPubAVDDesktop.md)                       |                        |                                                                                                                                        |
| [New-RASPubRDSApp](https://github.com/Parallels-Corp/DI-OPS-prls-docs/blob/master/ras/API-guides/v21-PowerShell-API/MD/RASAdmin/cmdlets/New-RASPubRDSApp.md)                               |                        |                                                                                                                                        |
| [New-RASPubVDIDesktop](https://github.com/Parallels-Corp/DI-OPS-prls-docs/blob/master/ras/API-guides/v21-PowerShell-API/MD/RASAdmin/cmdlets/New-RASPubVDIDesktop.md)                       |                        |                                                                                                                                        |
| [Remove-RASPubAVDDesktop](https://github.com/Parallels-Corp/DI-OPS-prls-docs/blob/master/ras/API-guides/v21-PowerShell-API/MD/RASAdmin/cmdlets/Remove-RASPubAVDDesktop.md)                 |                        |                                                                                                                                        |
| [Remove-RASPubItemPreferredRoute](https://github.com/Parallels-Corp/DI-OPS-prls-docs/blob/master/ras/API-guides/v21-PowerShell-API/MD/RASAdmin/cmdlets/Remove-RASPubItemPreferredRoute.md) |                        |                                                                                                                                        |
| [Remove-RASPubRDSAppServerAttr](https://github.com/Parallels-Corp/DI-OPS-prls-docs/blob/master/ras/API-guides/v21-PowerShell-API/MD/RASAdmin/cmdlets/Remove-RASPubRDSAppServerAttr.md)     |                        |                                                                                                                                        |
| [Remove-RASPubVDIDesktop](https://github.com/Parallels-Corp/DI-OPS-prls-docs/blob/master/ras/API-guides/v21-PowerShell-API/MD/RASAdmin/cmdlets/Remove-RASPubVDIDesktop.md)                 |                        |                                                                                                                                        |
| [Set-RASPubAVDDesktop](https://github.com/Parallels-Corp/DI-OPS-prls-docs/blob/master/ras/API-guides/v21-PowerShell-API/MD/RASAdmin/cmdlets/Set-RASPubAVDDesktop.md)                       |                        |                                                                                                                                        |
| [Set-RASPubItemFilter](https://github.com/Parallels-Corp/DI-OPS-prls-docs/blob/master/ras/API-guides/v21-PowerShell-API/MD/RASAdmin/cmdlets/Set-RASPubItemFilter.md)                       |                        |                                                                                                                                        |
| [Set-RASPubRDSApp](https://github.com/Parallels-Corp/DI-OPS-prls-docs/blob/master/ras/API-guides/v21-PowerShell-API/MD/RASAdmin/cmdlets/Set-RASPubRDSApp.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.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/pubitem.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.
