Set-AppvPublishingServer

Set-AppvPublishingServer is accessible with the help of AppVClient module. To configure AppVClient, go through this link.

Synopsis

Modifies properties of an App-V Publishing Server.

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.

Type:Boolean
Position:1
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-GlobalRefreshInterval

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

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

-GlobalRefreshIntervalUnit

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

Type:IntervalUnit
Accepted values:Hour, Day
Position:4
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-GlobalRefreshOnLogon

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

Type:Boolean
Position:2
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-Server

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

Type:AppvPublishingServer
Position:0
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False

-ServerId

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

Type:UInt32
Position:0
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-UserRefreshEnabled

Specifies whether user refresh is enabled.

Type:Boolean
Position:5
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-UserRefreshInterval

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

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

-UserRefreshIntervalUnit

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

Type:IntervalUnit
Accepted values:Hour, Day
Position:8
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-UserRefreshOnLogon

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

Type:Boolean
Position:6
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Syntax

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

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

You can check the Version, CommandType and Source of this cmdlet by giving below command.

Get-Command Set-AppvClientPackage

Get-Command Set-AppvClientPackage powershell script command cmdlet appv client

You can also read about

  • Add-AppvPublishingServer
  • Get-AppvPublishingServer
  • Remove-AppvPublishingServer
  • Sync-AppvPublishingServer

To know more PowerShell cmdlets(Commands) on AppVClient click here

Click on this Link for an Single place where you get all the PowerShell cmdlet sorted based on the modules.

You can also refer other blogs on PowerShell at link

You can also refer other blogs on Microsoft at link

And also if you required any technology you want to learn, let us know below we will publish them in our site http://tossolution.com/

Like our page in Facebook and follow us for New technical information.

References are taken from Microsoft

Leave a Reply

Your email address will not be published. Required fields are marked *