< Back

Sync-AppvPublishingServer

Tue Jan 29, 2019 9:25 pm

NAME Sync-AppvPublishingServer



SYNOPSIS

Initiates the App-V Publishing Refresh operation.





SYNTAX

Sync-AppvPublishingServer [-ServerId] <UInt32> [[-Global]] [[-Force]] [[-NetworkCostAware]] [[-HidePublishingRefreshUI]] [<CommonParameters>]



Sync-AppvPublishingServer [-Server] <AppvPublishingServer> [[-Global]] [[-Force]] [[-NetworkCostAware]] [[-HidePublishingRefreshUI]]

[<CommonParameters>]



Sync-AppvPublishingServer [[-Name] <String>] [[-URL] <String>] [[-Global]] [[-Force]] [[-NetworkCostAware]] [[-HidePublishingRefreshUI]]

[<CommonParameters>]





DESCRIPTION

The Sync-AppvPublishingServer cmdlet initiates the Microsoft Application Virtualization (App-V) publishing refresh operation in the context of the

current user. The publishing refresh connects to all added servers on the client and expose new App-V packages and their respective extension

points to the user.





PARAMETERS

-Force [<SwitchParameter>]

Indicates that the cmdlet forces all publishes and unpublishes of packages.



Required? false

Position? 3

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-Global [<SwitchParameter>]

Indicates that the cmdlet synchronizes packages from the App-V publishing server that are provisioned to the computer and are published to all

users on the computer.



Required? false

Position? 2

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-HidePublishingRefreshUI [<SwitchParameter>]

Indicates that the cmdlet suppresses the Publishing Refresh Progress bar.



Required? false

Position? 5

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-Name [<String>]

Specifies the friendly name of the server.



Required? false

Position? 1

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-NetworkCostAware [<SwitchParameter>]

Indicates that this cmdlet is network cost aware.



Required? false

Position? 4

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



-URL [<String>]

Specifies the URL path of the server.



Required? false

Position? 2

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









OUTPUTS









Example 1: Start publishing refresh



PS C:\\> Sync-AppvPublishingServer -Name "MyServer"



This command starts publishing refresh for the current user for the server named MyServer.







RELATED LINKS

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

Add-AppvPublishingServer

Get-AppvPublishingServer

Remove-AppvPublishingServer

Set-AppvPublishingServer