Add-AppvPublishingServer

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

Synopsis

Adds a publishing server for the computer that runs the App-V client.

Description

The Add-AppvPublishingServer cmdlet adds a new publishing server for the computer that runs the Microsoft Application Virtualization (App-V) client to connect to. After the server has been added, the computer that runs the App-V client can use the server to obtain publishing refresh data, stream packages, and perform other operations.

Parameters

-GlobalRefreshEnabled

Specifies whether to turn on the refreshing of the publishing server for all packages that are published globally. You can set the refresh to be at the time of logon or on a defined time interval.

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

-GlobalRefreshInterval

Specifies the time interval for the refresh of globally published packages.

Type:UInt32
Position:4
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:5
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-GlobalRefreshOnLogon

Specifies whether a refresh of all packages published to globally occurs every time that a user logs into the target computer.

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

-Name

Specifies the friendly name of the publishing server.

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

-URL

Specifies the URL path of the App-V publishing server.

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

-UserRefreshEnabled

Specifies whether to turn on the refreshing of the publishing server for all packages that are published to the user. The refresh can be set to be at the time of logon or on a defined time interval.

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

-UserRefreshInterval

Specifies the time interval for refreshes of user-published packages.

Type:UInt32
Position:8
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:9
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-UserRefreshOnLogon

Specifies whether a refresh of all packages published to the user occurs every time that a user logs into the target computer.

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

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

Get-Command Add-AppvPublishingServer

Get-Command Add-AppvPublishingServer powershell script command cmdlet appvclient

You can also read about

  • Get-AppvPublishingServer
  • Remove-AppvPublishingServer
  • Set-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 *