Table of contents
TOC
Collapse the table of content
Expand the table of content

Add-AppvPublishingServer

jamiejdt|Last Updated: 3/8/2017
|
1 Contributor

SYNOPSIS

Adds a publishing server for the computer running 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 running the Microsoft Application Virtualization (App-V) client to connect to. After the server has been added, the computer running the App-V client is able to use the server to obtain publishing refresh data, stream packages, and perform other operations.

EXAMPLES

1:

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
Parameter Sets: (All)
Aliases: 

Required: False
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
Parameter Sets: (All)
Aliases: 

Required: False
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-GlobalRefreshIntervalUnit

Specifies the unit of time measurement. Valid values are: day and hour.

Type: IntervalUnit
Parameter Sets: (All)
Aliases: 
Accepted values: Hour, Day

Required: False
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 a user logs into the target computer.

Type: Boolean
Parameter Sets: (All)
Aliases: 

Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Name

Specifies the friendly name of the publishing server.

Type: String
Parameter Sets: (All)
Aliases: 

Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-URL

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

Type: String
Parameter Sets: (All)
Aliases: 

Required: True
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
Parameter Sets: (All)
Aliases: 

Required: False
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
Parameter Sets: (All)
Aliases: 

Required: False
Position: 8
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-UserRefreshIntervalUnit

Specifies the unit of time measurement. Valid values are: day and hour.

Type: IntervalUnit
Parameter Sets: (All)
Aliases: 
Accepted values: Hour, Day

Required: False
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 a user logs into the target computer.

Type: Boolean
Parameter Sets: (All)
Aliases: 

Required: False
Position: 7
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

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

INPUTS

OUTPUTS

Microsoft.AppvAgent.AppvPublishingServer

NOTES

Get-AppvPublishingServer

Remove-AppvPublishingServer

Set-AppvPublishingServer

Sync-AppvPublishingServer

© 2017 Microsoft