# Get reinstall status

> Gets the reinstall status for a unit.

Source: https://docs.capaone.com/capainstaller/sdk-capainstaller-software-development-kit-functions/unit-functions/get-reinstall-status/  
Product: CapaInstaller — a separate CapaSystems product; do not apply this page to any other.

## Description

Gets the reinstall status for a unit.

## Syntax

GetReinstallStatus(Byval UnitName as String, Byval UnitType as String) as Boolean

## Parameters

***UnitName (String)***

The name of the unit

***UnitType (String)***

Type of Unit

- "Computer"
- "User"

## Return value

Boolean. Returns true if the specified unit has a scheduled reinstall.

## Example

**VBScript**

```vb
Set oCMS = CreateObject("CapaInstaller.SDK") 
wscript.echo oCMS.SetInstanceManagementPoint("1") 
wscript.echo oCMS.GetReinstallStatus("Klient","Computer")
```
