> 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/v20/parallels-ras-powershell-admin-module/commands/new-raspublocalapp.md).

# New-RASPubLocalApp.md

## NAME

New-RASPubLocalApp

## SYNOPSIS

Creates a published application to a Site.

## SYNTAX

**New-RASPubLocalApp** \[[Name](#name-string)] *(string)* \[[AndroidEnabled](#androidenabled-string) *(bool)*] \[[Description](#description-string) *(string)*] \[-[EnabledMode](#EnabledMode) {Disabled | Enabled | Maintenance}] \[[Icon](#icon-string) *(string)*] \[[IconIndex](#iconindex-string) *(uint)*] \[[iOSEnabled](#iosenabled-string) *(bool)*] \[[LinuxEnabled](#linuxenabled-string) *(bool)*] \[[MacEnabled](#macenabled-string) *(bool)*] \[-[ParentFolder](#ParentFolder) *(*[*PubFolder*](/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/pubfolder.md)*)*] \[[ParentId](#parentid-string) *(uint)*] \[[PreviousId](#previousid-string) *(uint)*] \[-[PreviousItem](#PreviousItem) *(*[*PubItem*](/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/pubitem.md)*)*] \[-[PublishToSite](#PublishToSite) *(*[*Site\[\]*](/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/site.md)*)*] \[-[PublishToSiteIds](#PublishToSiteIds) *(uint\[])*] \[[ReplicateLocalAppSettings](#replicatelocalappsettings-string) *(bool)*] \[[SiteId](#siteid-string) *(uint)*] \[[URL](#url-string) *(string)*] \[[UserPortalEnabled](#userportalenabled-string) *(bool)*] \[[WindowsEnabled](#windowsenabled-string) *(bool)*] \[[WindowsParameters](#windowsparameters-string) *(string)*] \[[WindowsStartIn](#windowsstartin-string) *(string)*] \[[WindowsTarget](#windowstarget-string) *(string)*] \[[WindowsUseIfAvailable](#windowsuseifavailable-string) *(bool)*] \[-[WindowsWinType](#WindowsWinType) {Normal | Maximized | Minimized}] \[*(*[*CommonParameters*](#CommonParameters)*)*]

## DESCRIPTION

Creates a published application to a Site.

You must specify the -Name. All other parameters are optional.

## PARAMETERS

## URL (string)

URL.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## WindowsEnabled (bool)

Windows: Whether the application is enabled for the operating system or not.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## WindowsUseIfAvailable (bool)

Windows: Use the following application if available on local device.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## WindowsStartIn (string)

Windows: Application working directory.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## WindowsTarget (string)

Windows: Application target file. (i.e. calc.exe, file.txt, etc.).

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## WindowsParameters (string)

Windows: Application parameters.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## WindowsWinType ([WindowType](/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/windowtype.md))

Windows: Window Type: 0=Normal, 1=Maximized, 2=Minimized.

Possible values: Normal, Maximized, Minimized

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## MacEnabled (bool)

Mac: Whether the application is enabled for the operating system or not.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## LinuxEnabled (bool)

Linux: Whether the application is enabled for the operating system or not.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## iOSEnabled (bool)

iOS: Whether the application is enabled for the operating system or not.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## AndroidEnabled (bool)

Android: Whether the application is enabled for the operating system or not.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## UserPortalEnabled (bool)

UserPortal: Whether the application is enabled for the operating system or not.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## ReplicateLocalAppSettings (bool)

Whether to replicate local application settings or not.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## Name (string)

Published resource name.

```
        Required?                    true

        Position?                    0

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## ParentFolder ([PubFolder](/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/pubfolder.md))

Parent publishing folder.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       true (ByValue, ByPropertyName)

        Accept wildcard characters?  false
```

## ParentId (uint)

Parent publishing folder ID.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## PreviousItem ([PubItem](/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/pubitem.md))

Previous published item.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## PreviousId (uint)

Previous published ID.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## Icon (string)

An icon to use for a publishing resource.

This can be an executable (.exe), a .dll or a .ico file.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## IconIndex (uint)

Specifies the index of the icon that will be loaded from the binary specified in the Icon property.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## EnabledMode

([PubResourceEnabledMode](/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/pubresourceenabledmode.md)) Changes the availability status of the published resource.

Possible values: Disabled, Enabled, Maintenance

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## Description (string)

Published resource description.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## PublishToSite ([Site\[\]](/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/site.md))

An array of sites to which to publish a resource.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## PublishToSiteIds (uint\[])

An array of Sites IDs to which to publish a resource.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## SiteId (uint)

Site ID in which to publish the specified Item.

If the parameter is omitted, the site ID of the Licensing Server will be used.

```
        Required?                    false

        Position?                    named

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

(CommonParameters)

```
        This cmdlet supports the common parameters: Verbose, Debug,

        ErrorAction, ErrorVariable, WarningAction, WarningVariable,

        OutBuffer, PipelineVariable, and OutVariable. For more information, see 

        about_CommonParameters documentation. 
```

## INPUTS

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

## OUTPUTS

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

## EXAMPLES

\*\*---------- EXAMPLE 1 ----------

New-RASPubLocalApp -Name "My Local App"

Creates a published application locally.\
\*\*---------- EXAMPLE 2 ----------

New-RASPubLocalApp -Name "My Local App" -WindowsEnabled 1

Creates a published application locally and specifies the application is enabled for Windows.

## RELATED LINKS

* [Get-RASPubLocalApp](/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/commands/get-raspublocalapp.md)
* [Set-RASPubLocalApp](/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/commands/set-raspublocalapp.md)
* [Remove-RASPubLocalApp](/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/commands/remove-raspublocalapp.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/v20/parallels-ras-powershell-admin-module/commands/new-raspublocalapp.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.
