Get-SCVMTemplate

Gets virtual machine template objects from the VMM library.

Description

The Get-SCVMTemplate cmdlet gets virtual machine template objects from the System Center Virtual Machine Manager (VMM) library

For information about how virtual machine templates are used to create new virtual machines, type: "Get-Help New-Template -detailed".

For more information about Get-SCVMTemplate, type: "Get-Help Get-SCVMTemplate -online".

Parameters

All

Required? false
Accept Pipeline Input? false
Position? named
Retrieves a full list of all subordinate objects independent of the parent object. For example, the command Get-SCVirtualDiskDrive -All retrieves all virtual disk drive objects regardless of the virtual machine object or template object that each virtual disk drive object is associated with.

ComputerTierTemplate

Required? false
Accept Pipeline Input? false
Position? named
Specifies a computer tier template object.

VMMServer

Required? false
Accept Pipeline Input? true (ByValue)
Position? named
Specifies a VMM server object.

ComputerTierTemplate

Required? false
Accept Pipeline Input? false
Position? named
Specifies a computer tier template object.

ID

Required? false
Accept Pipeline Input? false
Position? named
Specifies the numerical identifier (as a globally unique identifier, or GUID) for a specific object.

VMMServer

Required? false
Accept Pipeline Input? true (ByValue)
Position? named
Specifies a VMM server object.

Name

Required? true
Accept Pipeline Input? false
Position? named
Specifies the name of a VMM object.

ComputerTierTemplate

Required? false
Accept Pipeline Input? false
Position? named
Specifies a computer tier template object.

VMMServer

Required? false
Accept Pipeline Input? true (ByValue)
Position? named
Specifies a VMM server object.

Examples

1: Get all templates stored in the library.
PS C:\> Get-SCVMTemplate -VMMServer "VMMServer01.Contoso.com"
This command gets all template objects from the VMM library on VMMServer01, and then displays information about these templates to the user.
2: Get all templates stored in the library that have a similar name.
PS C:\> Get-SCVMTemplate -VMMServer "VMMServer01.Contoso.com" | where { $_.Name -like "Windows Server 2008*" }
This command gets all template objects from the VMM library on VMMServer01 whose name begins with "Windows Server 2008", and then displays information about these templates to the user.

See Also