Get-AppvPublishingServer is accessible with the help of AppVClient module. To configure AppVClient, go through this link.
Synopsis
Returns App-V Server objects.
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
Specifies the name of the App-V publishing server.
Type: | String |
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 |
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 |
Position: | 1 |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Syntax
Get-AppvPublishingServer [[-ServerId] <UInt32>] [<CommonParameters>]
Get-AppvPublishingServer [[-Name] <String>] [[-URL] <String>] [<CommonParameters>]
——————-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.
You can check the Version, CommandType and Source of this cmdlet by giving below command.
Get-Command Get-AppvPublishingServer
You can also read about
- Add-AppvPublishingServer
- Remove-AppvPublishingServer
- Set-AppvPublishingServer
- Sync-AppvPublishingServer