Site icon TOSS

Remove-AppvPublishingServer

powershell

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

Synopsis

Removes an App-V publishing server.

Description

The Remove-AppvPublishingServer cmdlet removes the Microsoft Application Virtualization (App-V) publishing server from the App-V client list.

Parameters

-Name

Specifies the name of the composition.

Type:String
Position:0
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 ID for the publishing server.

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

-URL

Specifies the URL path of the publishing server.

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

Syntax

Remove-AppvPublishingServer [-ServerId] <UInt32> [<CommonParameters>]

Remove-AppvPublishingServer [-Server] <AppvPublishingServer> [<CommonParameters>]

Remove-AppvPublishingServer [[-Name] <String>] [[-URL] <String>] [<CommonParameters>]

——————-Example 1——————-
Remove a publishing server
PS C:\> Remove-AppvPublishingServer -Name “PSvr01”
This command removes the publishing server named PSvr01.

——————-Example 2——————-
Remove multiple publishing servers
PS C:\> Remove-AppvPublishingServer -Name “PSvr*”
This command removes all publishing servers that have names that start with the string PSvr.

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

Get-Command Remove-AppvPublishingServer

You can also read about

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

Exit mobile version