---
title: "Get-CatProjectTemplate"
description: "Get-CatProjectTemplate — the project templates New-CatProject can use."
url: "https://docs.justcat.it/reference/powershell-module/get-catprojecttemplate/"
---
# Get-CatProjectTemplate

## Synopsis

```powershell
Get-CatProjectTemplate [-Online] [-LoggingLevel <string>]
```

## Parameters

| Parameter | Type | Position | Default | Meaning |
|-----------|------|----------|---------|---------|
| `-Online` | switch | named | off | List the templates on the CAT server instead of the local ones. |
| `-LoggingLevel` | string | named | `Error` | Used only when this cmdlet has to create the session. |

## What it does

Without `-Online`, returns the templates available locally — the two shipped with CAT (`default`, `getStartedWindows`) and any downloaded earlier. With `-Online`, asks the CAT server for its list, which may hold more templates and newer versions; nothing is downloaded by listing. Signs in (or reuses the session) like every project cmdlet.

## Output

One list object of `ProjectTemplate` items (assign it to work with the items): `TemplateCode` — what `New-CatProject -Template` takes, `TemplateName`, `Description`, `Version`.

## Errors

Refusals from the sign-in and plan check are terminating errors with the `CatPortal.*` ids listed on the [Introduction](https://docs.justcat.it/reference/powershell-module/introduction/ "Introduction") page.

## Examples

```powershell
(Get-CatProjectTemplate) | Format-Table TemplateCode, TemplateName, Version
(Get-CatProjectTemplate -Online) | Format-Table TemplateCode, Version
```

## Related

- [Introduction](https://docs.justcat.it/reference/powershell-module/introduction/ "Introduction") — session model, logging, errors, sign-in.
- [`New-CatProject`](https://docs.justcat.it/reference/powershell-module/new-catproject/ "New-CatProject") — use a template.

