Add-AppvPublishingServer
Add-AppvPublishingServer is accessible with the help of AppVClient module. To configure AppVClient, go through this link.
Synopsis
Adds a publishing server for the computer that runs the App-V client.
Description
The Add-AppvPublishingServer cmdlet adds a new publishing server for the computer that runs the Microsoft Application Virtualization (App-V) client to connect to. After the server has been added, the computer that runs the App-V client can use the server to obtain publishing refresh data, stream packages, and perform other operations.
Parameters
-GlobalRefreshEnabled
Specifies whether to turn on the refreshing of the publishing server for all packages that are published globally. You can set the refresh to be at the time of logon or on a defined time interval.
Type: | Boolean |
Position: | 2 |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-GlobalRefreshInterval
Specifies the time interval for the refresh of globally published packages.
Type: | UInt32 |
Position: | 4 |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-GlobalRefreshIntervalUnit
Specifies the unit of time measurement. The acceptable values for this parameter are: day and hour.
Type: | IntervalUnit |
Accepted values: | Hour, Day |
Position: | 5 |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-GlobalRefreshOnLogon
Specifies whether a refresh of all packages published to globally occurs every time that a user logs into the target computer.
Type: | Boolean |
Position: | 3 |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
Specifies the friendly name of the publishing server.
Type: | String |
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 |
-UserRefreshEnabled
Specifies whether to turn on the refreshing of the publishing server for all packages that are published to the user. The refresh can be set to be at the time of logon or on a defined time interval.
Type: | Boolean |
Position: | 6 |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-UserRefreshInterval
Specifies the time interval for refreshes of user-published packages.
Type: | UInt32 |
Position: | 8 |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-UserRefreshIntervalUnit
Specifies the unit of time measurement. The acceptable values for this parameter are: day and hour.
Type: | IntervalUnit |
Accepted values: | Hour, Day |
Position: | 9 |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-UserRefreshOnLogon
Specifies whether a refresh of all packages published to the user occurs every time that a user logs into the target computer.
Type: | Boolean |
Position: | 7 |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
You can check the Version, CommandType and Source of this cmdlet by giving below command.
Get-Command Add-AppvPublishingServer
You can also read about
- Get-AppvPublishingServer
- Remove-AppvPublishingServer
- Set-AppvPublishingServer
- Sync-AppvPublishingServer