# Remove package from management server

> Removes a package from a Management Server.

Source: https://docs.capaone.com/capainstaller/sdk-capainstaller-software-development-kit-functions/package-functions/remove-package-from-management-server/  
Product: CapaInstaller — a separate CapaSystems product; do not apply this page to any other.

## Description

Removes a package from a Management Server.

## Syntax

RemovePackageFromManagementServer(Byval PackageName as String, Byval PackageVersion as String, Byval PackageType as String, Byval ServerName as String) as Boolean

## Parameters

***PackageName (String)***

The name of the package

***PackageVersion *(String)****

Package version

***PackageType *(String)****

Type of package

- "1" (Computer)
- "2" (User)

***ServerName (String)***

Management server name

## Return value

Boolean. The function returns true if it succeeds, otherwise false.

## Example

**VBScript**

```vb
Set oCMS = CreateObject("CapaInstaller.SDK") 
wscript.echo oCMS.SetInstanceManagementPoint("1") 
wscript.echo oCMS.RemovePackageFromManagementServer("AutoCad 11","v4.0","2","srvcph01") 
```
