Edit

Share via


Set-AppvPublishingServer

Modifies properties of an App-V Publishing Server.

Syntax

ByServerId (Default)

Set-AppvPublishingServer
    [-ServerId] <UInt32>
    [[-GlobalRefreshEnabled] <Boolean>]
    [[-GlobalRefreshOnLogon] <Boolean>]
    [[-GlobalRefreshInterval] <UInt32>]
    [[-GlobalRefreshIntervalUnit] <IntervalUnit>]
    [[-UserRefreshEnabled] <Boolean>]
    [[-UserRefreshOnLogon] <Boolean>]
    [[-UserRefreshInterval] <UInt32>]
    [[-UserRefreshIntervalUnit] <IntervalUnit>]
    [<CommonParameters>]

ByObject

Set-AppvPublishingServer
    [-Server] <AppvPublishingServer>
    [[-GlobalRefreshEnabled] <Boolean>]
    [[-GlobalRefreshOnLogon] <Boolean>]
    [[-GlobalRefreshInterval] <UInt32>]
    [[-GlobalRefreshIntervalUnit] <IntervalUnit>]
    [[-UserRefreshEnabled] <Boolean>]
    [[-UserRefreshOnLogon] <Boolean>]
    [[-UserRefreshInterval] <UInt32>]
    [[-UserRefreshIntervalUnit] <IntervalUnit>]
    [<CommonParameters>]

Description

The Set-AppvPublishingServer cmdlet modifies properties of an already existing Microsoft Application Virtualization (App-V) Publishing Server. To obtain an App-V Publishing Server object, use the Get-AppvPublishingServer cmdlet.

Parameters

-GlobalRefreshEnabled

Specifies whether the server does automatic syncs with the publishing server for all globally published packages.

Parameter properties

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

Parameter sets

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

-GlobalRefreshInterval

Specifies a time span that represents the period where refreshes occur for packages published globally.

Parameter properties

Type:UInt32
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

-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:4
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-GlobalRefreshOnLogon

Specifies whether a refresh occurs for all package published globally 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:2
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Server

Specifies an AppvPublishingServer object. To obtain an AppvPublishingServer object, use the Get-AppvPublishingServer cmdlet.

Parameter properties

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

Parameter sets

ByObject
Position:0
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-ServerId

Specifies the identifier for the App-V Publishing Server. This can be queried using the Get-AppvPublishingServer cmdlet.

Parameter properties

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

Parameter sets

ByServerId
Position:0
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-UserRefreshEnabled

Specifies whether user refresh is enabled.

Parameter properties

Type:Boolean
Default value:None
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

-UserRefreshInterval

Specifies the identifier for the App-V Publishing Server. This can be queried using the Get-AppvPublishingServer cmdlet.

Parameter properties

Type:UInt32
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

-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:8
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-UserRefreshOnLogon

Specifies whether a refresh occurs every time that a user logs into the computer.

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

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.

Inputs

Microsoft.AppvAgent.AppvPublishingServer

Outputs

Microsoft.AppvAgent.AppvPublishingServer