Edit

Share via


Add-AppvPublishingServer

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

Syntax

Default (Default)

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.

Parameter properties

Type:Boolean
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:2
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-GlobalRefreshInterval

Specifies the time interval for the refresh of globally published packages.

Parameter properties

Type:UInt32
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:4
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-GlobalRefreshIntervalUnit

Specifies the unit of time measurement. The acceptable values for this parameter are: day and hour.

Parameter properties

Type:IntervalUnit
Default value:None
Accepted values:Hour, Day
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:5
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-GlobalRefreshOnLogon

Specifies whether a refresh of all packages published to globally occurs every time that a user logs into the target computer.

Parameter properties

Type:Boolean
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:3
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Name

Specifies the friendly name of the publishing server.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:0
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-URL

Specifies the URL path of the App-V publishing server.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:1
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments: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.

Parameter properties

Type:Boolean
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:6
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-UserRefreshInterval

Specifies the time interval for refreshes of user-published packages.

Parameter properties

Type:UInt32
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:8
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-UserRefreshIntervalUnit

Specifies the unit of time measurement. The acceptable values for this parameter are: day and hour.

Parameter properties

Type:IntervalUnit
Default value:None
Accepted values:Hour, Day
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:9
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-UserRefreshOnLogon

Specifies whether a refresh of all packages published to the user occurs every time that a user logs into the target computer.

Parameter properties

Type:Boolean
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:7
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Outputs

Microsoft.AppvAgent.AppvPublishingServer