< Back
Get-AppvPublishingServer
Post
NAME Get-AppvPublishingServer
SYNOPSIS
Returns App-V Server objects.
SYNTAX
Get-AppvPublishingServer [[-Name] <String>] [[-URL] <String>] [<CommonParameters>]
Get-AppvPublishingServer [[-ServerId] <UInt32>] [<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.
PARAMETERS
-Name [<String>]
Specifies the name of the App-V publishing server.
Required? false
Position? 1
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-ServerId [<UInt32>]
Specifies the unique identifier of the App-V Publishing Server.
Required? false
Position? 1
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-URL [<String>]
Specifies the URL path of the App-V Publishing server.
Required? false
Position? 2
Default value none
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 (http://go.microsoft.com/fwlink/?LinkID=113216).
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.
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.
RELATED LINKS
Online Version: http://go.microsoft.com/fwlink/?LinkId=827711
Add-AppvPublishingServer
Remove-AppvPublishingServer
Set-AppvPublishingServer
Sync-AppvPublishingServer
SYNOPSIS
Returns App-V Server objects.
SYNTAX
Get-AppvPublishingServer [[-Name] <String>] [[-URL] <String>] [<CommonParameters>]
Get-AppvPublishingServer [[-ServerId] <UInt32>] [<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.
PARAMETERS
-Name [<String>]
Specifies the name of the App-V publishing server.
Required? false
Position? 1
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-ServerId [<UInt32>]
Specifies the unique identifier of the App-V Publishing Server.
Required? false
Position? 1
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-URL [<String>]
Specifies the URL path of the App-V Publishing server.
Required? false
Position? 2
Default value none
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 (http://go.microsoft.com/fwlink/?LinkID=113216).
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.
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.
RELATED LINKS
Online Version: http://go.microsoft.com/fwlink/?LinkId=827711
Add-AppvPublishingServer
Remove-AppvPublishingServer
Set-AppvPublishingServer
Sync-AppvPublishingServer