Add-AppvPublishingServer

Adds a publishing server for the computer that runs the App-V client.

Syntax

Add-AppvPublishingServer
   [-Name] <String>
   [-URL] <String>
   [[-GlobalRefreshEnabled] <Boolean>]
   [[-GlobalRefreshOnLogon] <Boolean>]
   [[-GlobalRefreshInterval] <UInt32>]
   [[-GlobalRefreshIntervalUnit] <IntervalUnit>]
   [[-UserRefreshEnabled] <Boolean>]
   [[-UserRefreshOnLogon] <Boolean>]
   [[-UserRefreshInterval] <UInt32>]
   [[-UserRefreshIntervalUnit] <IntervalUnit>]
   [<CommonParameters>]

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
Required:False
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
Required:False
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
Required:False
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
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Name

Specifies the friendly name of the publishing server.

Type:String
Position:0
Default value:None
Required:True
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
Required:True
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
Required:False
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
Required:False
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
Required:False
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
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

Microsoft.AppvAgent.AppvPublishingServer