< Back

Set-AppvPublishingServer

Tue Jan 29, 2019 9:25 pm

NAME Set-AppvPublishingServer



SYNOPSIS

Modifies properties of an App-V Publishing Server.





SYNTAX

Set-AppvPublishingServer [-ServerId] <UInt32> [[-GlobalRefreshEnabled] <Boolean>] [[-GlobalRefreshOnLogon] <Boolean>] [[-GlobalRefreshInterval]

<UInt32>] [[-GlobalRefreshIntervalUnit] <IPublishingServer+IntervalUnit>] [[-UserRefreshEnabled] <Boolean>] [[-UserRefreshOnLogon] <Boolean>]

[[-UserRefreshInterval] <UInt32>] [[-UserRefreshIntervalUnit] <IPublishingServer+IntervalUnit>] [<CommonParameters>]



Set-AppvPublishingServer [-Server] <AppvPublishingServer> [[-GlobalRefreshEnabled] <Boolean>] [[-GlobalRefreshOnLogon] <Boolean>]

[[-GlobalRefreshInterval] <UInt32>] [[-GlobalRefreshIntervalUnit] <IPublishingServer+IntervalUnit>] [[-UserRefreshEnabled] <Boolean>]

[[-UserRefreshOnLogon] <Boolean>] [[-UserRefreshInterval] <UInt32>] [[-UserRefreshIntervalUnit] <IPublishingServer+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 [<Boolean>]

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



Required? false

Position? 2

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-GlobalRefreshInterval [<UInt32>]

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



Required? false

Position? 4

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-GlobalRefreshIntervalUnit [<IPublishingServer+IntervalUnit>]

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



Required? false

Position? 5

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-GlobalRefreshOnLogon [<Boolean>]

Specifies whether a refresh occurs for all package published globally every time that a user logs into the target computer.



Required? false

Position? 3

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-Server <AppvPublishingServer>

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



Required? true

Position? 1

Default value none

Accept pipeline input? true(ByValue)

Accept wildcard characters? false



-ServerId <UInt32>

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



Required? true

Position? 1

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-UserRefreshEnabled [<Boolean>]

Specifies whether user refresh is enabled.



Required? false

Position? 6

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-UserRefreshInterval [<UInt32>]

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



Required? false

Position? 8

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-UserRefreshIntervalUnit [<IPublishingServer+IntervalUnit>]

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



Required? false

Position? 9

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-UserRefreshOnLogon [<Boolean>]

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



Required? false

Position? 7

Default value none

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

Microsoft.AppvAgent.AppvPublishingServer







OUTPUTS

Microsoft.AppvAgent.AppvPublishingServer







1:















RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=827725

Add-AppvPublishingServer

Get-AppvPublishingServer

Remove-AppvPublishingServer

Sync-AppvPublishingServer