description | external help file | ms.date | ms.devlang | schema | title |
---|---|---|---|---|---|
Use this topic to help manage MDOP technologies with Windows PowerShell. |
Microsoft.AppV.AppVClientPowerShell.dll-Help.xml |
12/05/2016 |
powershell |
2.0.0 |
Get-AppvPublishingServer |
Returns App-V Server objects.
Get-AppvPublishingServer [[-ServerId] <UInt32>] [<CommonParameters>]
Get-AppvPublishingServer [[-Name] <String>] [[-URL] <String>] [<CommonParameters>]
The Get-AppvPublishingServer cmdlet returns a Microsoft Application Virtualization (App-V) Server object or set of App-V Server objects based on the criteria provided.
PS C:\> Get-AppvPublishingServer -Name "Server*"
PS C:\> Get-AppvPublishingServer -ServerId 1
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
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
Specifies the URL path to 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
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
- 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.