Managing templates
One of the major aspects of managing a vSphere environment is managing templates. In any virtualized data center, invariably, there will be many templates that are maintained in it. In this section, we will check the PowerCLI cmdlets related to template management. Here is a list of the available cmdlets used for managing templates:
Get-Template
Move-Template
New-Template
Remove-Template
Set-Template
Like all the other topics, in this topic too, we will start with getting a list of the available templates. We can do this using the Get-Template
cmdlet:
PS C:\> Get-Template Name ---- Template1 PS C:\> Get-Template -Location 'Lab Folder' Name ---- Template1 PS C:\> Get-Template -Datastore NFS_SHARE Name...