Table of contents
TLS
TOC
Collapse the table of content
Expand the table of content

Get-AppvPublishingServer

Last Updated: 3/26/2017

SYNOPSIS

Returns App-V Server objects.

SYNTAX

ByServerId (Default)

Get-AppvPublishingServer [[-ServerId] <UInt32>] [<CommonParameters>]

ByNameUrl

Get-AppvPublishingServer [[-Name] <String>] [[-URL] <String>] [<CommonParameters>]

DESCRIPTION

The Get-AppvPublishingServer cmdlet returns an Microsoft Application Virtualization (App-V) Server object or set of App-V Server objects based on the criteria provided.

EXAMPLES

Example 1: Get servers by friendly name

PS C:\> Get-AppvPublishingServer -Name "Server*"

This command gets all publishing servers that have friendly names that start with the string Server.

Example 2: Get servers by server ID name

PS C:\> Get-AppvPublishingServer -ServerId 1

This command gets the publishing server that has the specified ID.

PARAMETERS

-Name

Specifies the name of the App-V publishing server.

Type: String
Parameter Sets: ByNameUrl
Aliases: 

Required: False
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ServerId

Specifies the unique identifier of the App-V Publishing Server.

Type: UInt32
Parameter Sets: ByServerId
Aliases: 

Required: False
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-URL

Specifies the URL path of the App-V Publishing server.

Type: String
Parameter Sets: ByNameUrl
Aliases: 

Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

Microsoft.AppV.AppvClientPowerShell.AppvPublishingServer

NOTES

  • The cmdlet checks that you have permissions to perform the specific action. If not, the cmdlet returns the following error: The action could not be performed due to current App-V permissions. Please modify the permissions and try the operation again.
  • If the get operation fails, the cmdlet returns the following error: The get operation could not be completed. An error code is returned.
  • If the cmdlet cannot find the servers, the cmdlet returns the following error: The specified App-V publishing server(s) could not be found. An error code is returned.

Add-AppvPublishingServer

Remove-AppvPublishingServer

Set-AppvPublishingServer

Sync-AppvPublishingServer

© 2017 Microsoft