> 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/TEST-docs/blob/LatestDoc/21_Release/20_RAS_21_API_Guides/PS_API/MD/RASAdmin/cmdlets/Add-RASPubItemPreferredRoute.md)       |                        |                                                                                                                                        |
| [Get-RASPubAppFileExt](https://github.com/Parallels-Corp/TEST-docs/blob/LatestDoc/21_Release/20_RAS_21_API_Guides/PS_API/MD/RASAdmin/cmdlets/Get-RASPubAppFileExt.md)                       |                        |                                                                                                                                        |
| [Invoke-RASPubItemCmd](https://github.com/Parallels-Corp/TEST-docs/blob/LatestDoc/21_Release/20_RAS_21_API_Guides/PS_API/MD/RASAdmin/cmdlets/Invoke-RASPubItemCmd.md)                       |                        |                                                                                                                                        |
| [New-RASPubAVDDesktop](https://github.com/Parallels-Corp/TEST-docs/blob/LatestDoc/21_Release/20_RAS_21_API_Guides/PS_API/MD/RASAdmin/cmdlets/New-RASPubAVDDesktop.md)                       |                        |                                                                                                                                        |
| [New-RASPubRDSApp](https://github.com/Parallels-Corp/TEST-docs/blob/LatestDoc/21_Release/20_RAS_21_API_Guides/PS_API/MD/RASAdmin/cmdlets/New-RASPubRDSApp.md)                               |                        |                                                                                                                                        |
| [New-RASPubVDIDesktop](https://github.com/Parallels-Corp/TEST-docs/blob/LatestDoc/21_Release/20_RAS_21_API_Guides/PS_API/MD/RASAdmin/cmdlets/New-RASPubVDIDesktop.md)                       |                        |                                                                                                                                        |
| [Remove-RASPubAVDDesktop](https://github.com/Parallels-Corp/TEST-docs/blob/LatestDoc/21_Release/20_RAS_21_API_Guides/PS_API/MD/RASAdmin/cmdlets/Remove-RASPubAVDDesktop.md)                 |                        |                                                                                                                                        |
| [Remove-RASPubItemPreferredRoute](https://github.com/Parallels-Corp/TEST-docs/blob/LatestDoc/21_Release/20_RAS_21_API_Guides/PS_API/MD/RASAdmin/cmdlets/Remove-RASPubItemPreferredRoute.md) |                        |                                                                                                                                        |
| [Remove-RASPubRDSAppServerAttr](https://github.com/Parallels-Corp/TEST-docs/blob/LatestDoc/21_Release/20_RAS_21_API_Guides/PS_API/MD/RASAdmin/cmdlets/Remove-RASPubRDSAppServerAttr.md)     |                        |                                                                                                                                        |
| [Remove-RASPubVDIDesktop](https://github.com/Parallels-Corp/TEST-docs/blob/LatestDoc/21_Release/20_RAS_21_API_Guides/PS_API/MD/RASAdmin/cmdlets/Remove-RASPubVDIDesktop.md)                 |                        |                                                                                                                                        |
| [Set-RASPubAVDDesktop](https://github.com/Parallels-Corp/TEST-docs/blob/LatestDoc/21_Release/20_RAS_21_API_Guides/PS_API/MD/RASAdmin/cmdlets/Set-RASPubAVDDesktop.md)                       |                        |                                                                                                                                        |
| [Set-RASPubItemFilter](https://github.com/Parallels-Corp/TEST-docs/blob/LatestDoc/21_Release/20_RAS_21_API_Guides/PS_API/MD/RASAdmin/cmdlets/Set-RASPubItemFilter.md)                       |                        |                                                                                                                                        |
| [Set-RASPubRDSApp](https://github.com/Parallels-Corp/TEST-docs/blob/LatestDoc/21_Release/20_RAS_21_API_Guides/PS_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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/pubitem.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
