SALES: 1-800-867-1380
Expand Minimize

Get-WAPackVMTemplate

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Get-WAPackVMTemplate

Gets virtual machine templates.

Syntax

Parameter Set: FromId
Get-WAPackVMTemplate [[-ID] <Guid> ] [ <CommonParameters>]

Parameter Set: FromName
Get-WAPackVMTemplate [[-Name] <String> ] [ <CommonParameters>]




Detailed Description

These topics are deprecated and will be removed in the future. For the updated topics, see Azure WAPack Cmdlets. This topic describes the cmdlet in the 0.8.1 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version.

The Get-WAPackVMTemplate cmdlet gets virtual machine templates.

Parameters

-ID<Guid>

Specifies the unique ID of a template.


Aliases

none

Required?

false

Position?

1

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Name<String>

Specifies the name of a template.


Aliases

none

Required?

false

Position?

1

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see  about_CommonParameters (http://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

Example 1: Get a virtual machine template by using a name

This command gets the virtual machine template named ContosoTemplate04.


PS C:\> Get-WAPackVMTemplate -Name "ContosoTemplate04"

Example 2: Get a virtual machine template by using an ID

This command gets the virtual machine template that has the specified ID.


PS C:\> Get-WAPackVMTemplate -Id 66242D17-189F-480D-87CF-8E1D749998C8

Example 3: Get all virtual machine templates

This command gets all the virtual machine templates.


PS C:\> Get-WAPackVMTemplate

Related topics

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft