# Named Templates

There may come a time when you need to create multiple OSDCloud Templates.  I'll get into this further in the next few pages, but let's cover the basics here

## -Name

To create a named OSDCloud Template, simply use the `Name` parameter

<figure><img src="https://344220114-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MVSV22dcsjKDdOxDA6n%2Fuploads%2Fc0UmfDJmhWL4MTbiy6y9%2Fimage.png?alt=media&#x26;token=ae032ef3-15be-429c-bee1-1e942bf32366" alt=""><figcaption><p>New-OSDCloudTemplate -Name 'My New Profile'</p></figcaption></figure>

## Get-OSDCloudTemplate

When you create a new OSDCloud Template, that will be the one that gets used by default going forward, until it is changed.  To find out what your current OSDCloud Template is, use this function

```powershell
PS C:\> Get-OSDCloudTemplate
C:\ProgramData\OSDCloud\Templates\My New Profile
```

## Get-OSDCloudTemplateNames

This function will return all the OSDCloud Templates that have been registered&#x20;

```powershell
PS C:\> Get-OSDCloudTemplateNames
default
My New Profile
```

## Set-OSDCloudTemplate

This function will If you have more than one OSDCloud Template, you can change between OSDCloud Templates using this function and the `Name` parameter

```powershell
PS C:\> Set-OSDCloudTemplate #without params, returns to default
C:\ProgramData\OSDCloud

PS C:\> Set-OSDCloudTemplate -Name 'My New Profile'
C:\ProgramData\OSDCloud\Templates\My New Profile

PS C:\> Set-OSDCloudTemplate -Name default
C:\ProgramData\OSDCloud
```

By the way, there is Tab-Complete to make your life easier

<figure><img src="https://344220114-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MVSV22dcsjKDdOxDA6n%2Fuploads%2FMxStAUHGF5eaQIyNKsJU%2F2023-05-14_23-14-41.gif?alt=media&#x26;token=283f815b-bcaf-4109-b808-783072c87251" alt=""><figcaption></figcaption></figure>
