# PubItem.md

## NAMESPACE

RASAdminEngine.Core.OutputModels

## DESCRIPTION

RAS Published Item

## INHERITED FROM

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

⇒

[RASListObj](/landing/ras-powershell-api-guide/v20/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/v20/parallels-ras-powershell-admin-module/types/raslistobj.md)      |
| String                                                                                                                                | AdminLastMod                                                                                                                 | Inherited from [RASListObj](/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/raslistobj.md)      |
| String                                                                                                                                | Description                                                                                                                  | Description of the published item.                                                                                                |
| Boolean                                                                                                                               | Enabled                                                                                                                      | Whether the published item is enabled or not.                                                                                     |
| [PubResourceEnabledMode](/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/pubresourceenabledmode.md) | EnabledMode                                                                                                                  | Represents the availability status of the published resource.                                                                     |
| [PubItemFilter](/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/pubitemfilter.md)                   | Filter                                                                                                                       | The PubItem Filter object.                                                                                                        |
| UInt32                                                                                                                                | Id                                                                                                                           | Boolean                                                                                                                           |
| InheritMaintenance                                                                                                                    | Inherit Maintenance.                                                                                                         | [MaintenanceMessages](/landing/ras-powershell-api-guide/v20/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/v20/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/v20/parallels-ras-powershell-admin-module/types/raslistobj.md) | DateTime                                                                                                                          |
| TimeLastMod                                                                                                                           | Inherited from [RASListObj](/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/raslistobj.md) | [RASPubObject](/landing/ras-powershell-api-guide/v20/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/v20/parallels-ras-powershell-admin-module/types/rasserilazableobj.md) |
| Boolean                                                                                                                                                                                                  | Equals (Object obj)    | Inherited from [RASSerilazableObj](/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/rasserilazableobj.md) |
| Int32                                                                                                                                                                                                    | GetHashCode ()         | Inherited from [RASSerilazableObj](/landing/ras-powershell-api-guide/v20/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/RAS-20-docs/blob/origin/admin-guide-20.3-release/20_RAS-20_API_Guides/PS-API/MD/RASAdmin/cmdlets/Add-RASPubItemPreferredRoute.md)       |                        |                                                                                                                                            |
| [Get-RASPubAppFileExt](https://github.com/Parallels-Corp/RAS-20-docs/blob/origin/admin-guide-20.3-release/20_RAS-20_API_Guides/PS-API/MD/RASAdmin/cmdlets/Get-RASPubAppFileExt.md)                       |                        |                                                                                                                                            |
| [Invoke-RASPubItemCmd](https://github.com/Parallels-Corp/RAS-20-docs/blob/origin/admin-guide-20.3-release/20_RAS-20_API_Guides/PS-API/MD/RASAdmin/cmdlets/Invoke-RASPubItemCmd.md)                       |                        |                                                                                                                                            |
| [New-RASPubAVDDesktop](https://github.com/Parallels-Corp/RAS-20-docs/blob/origin/admin-guide-20.3-release/20_RAS-20_API_Guides/PS-API/MD/RASAdmin/cmdlets/New-RASPubAVDDesktop.md)                       |                        |                                                                                                                                            |
| [New-RASPubRDSApp](https://github.com/Parallels-Corp/RAS-20-docs/blob/origin/admin-guide-20.3-release/20_RAS-20_API_Guides/PS-API/MD/RASAdmin/cmdlets/New-RASPubRDSApp.md)                               |                        |                                                                                                                                            |
| [New-RASPubVDIDesktop](https://github.com/Parallels-Corp/RAS-20-docs/blob/origin/admin-guide-20.3-release/20_RAS-20_API_Guides/PS-API/MD/RASAdmin/cmdlets/New-RASPubVDIDesktop.md)                       |                        |                                                                                                                                            |
| [Remove-RASPubAVDDesktop](https://github.com/Parallels-Corp/RAS-20-docs/blob/origin/admin-guide-20.3-release/20_RAS-20_API_Guides/PS-API/MD/RASAdmin/cmdlets/Remove-RASPubAVDDesktop.md)                 |                        |                                                                                                                                            |
| [Remove-RASPubItemPreferredRoute](https://github.com/Parallels-Corp/RAS-20-docs/blob/origin/admin-guide-20.3-release/20_RAS-20_API_Guides/PS-API/MD/RASAdmin/cmdlets/Remove-RASPubItemPreferredRoute.md) |                        |                                                                                                                                            |
| [Remove-RASPubRDSAppServerAttr](https://github.com/Parallels-Corp/RAS-20-docs/blob/origin/admin-guide-20.3-release/20_RAS-20_API_Guides/PS-API/MD/RASAdmin/cmdlets/Remove-RASPubRDSAppServerAttr.md)     |                        |                                                                                                                                            |
| [Remove-RASPubVDIDesktop](https://github.com/Parallels-Corp/RAS-20-docs/blob/origin/admin-guide-20.3-release/20_RAS-20_API_Guides/PS-API/MD/RASAdmin/cmdlets/Remove-RASPubVDIDesktop.md)                 |                        |                                                                                                                                            |
| [Set-RASPubAVDDesktop](https://github.com/Parallels-Corp/RAS-20-docs/blob/origin/admin-guide-20.3-release/20_RAS-20_API_Guides/PS-API/MD/RASAdmin/cmdlets/Set-RASPubAVDDesktop.md)                       |                        |                                                                                                                                            |
| [Set-RASPubItemFilter](https://github.com/Parallels-Corp/RAS-20-docs/blob/origin/admin-guide-20.3-release/20_RAS-20_API_Guides/PS-API/MD/RASAdmin/cmdlets/Set-RASPubItemFilter.md)                       |                        |                                                                                                                                            |
| [Set-RASPubRDSApp](https://github.com/Parallels-Corp/RAS-20-docs/blob/origin/admin-guide-20.3-release/20_RAS-20_API_Guides/PS-API/MD/RASAdmin/cmdlets/Set-RASPubRDSApp.md)                               |                        |                                                                                                                                            |


---

# Agent Instructions: 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:

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

The question should be specific, self-contained, and written in natural language.
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.
