Sync-AppvPublishingServer
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.
Examples
Example 1
PS C:\> Sync-AppvPublishingServer -Name "MyServer"
Parameters
-Force
Indicates that the cmdlet forces all publishes and unpublishes of packages.
Type: | SwitchParameter |
Position: | 2 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Global
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.
Type: | SwitchParameter |
Position: | 1 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-HidePublishingRefreshUI
Indicates that the cmdlet suppresses the Publishing Refresh Progress bar.
Type: | SwitchParameter |
Position: | 4 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
Specifies the friendly name of the server.
Type: | String |
Position: | 0 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-NetworkCostAware
Type: | SwitchParameter |
Position: | 3 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Server
Not Specified.
Type: | AppvPublishingServer |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-ServerId
Type: | UInt32 |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-URL
Specifies the URL path to the server.
Type: | String |
Position: | 1 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Related Links
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for