Get-WAPackVMSizeProfile
TOC
Collapse the table of content
Expand the table of content

Get-WAPackVMSizeProfile

Get-WAPackVMSizeProfile

Gets size profile objects.

Syntax

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

Parameter Set: FromName
Get-WAPackVMSizeProfile [[-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-WAPackVMSizeProfile cmdlet gets size profile objects for virtual machines.

Parameters

-ID<Guid>

Specifies the unique ID of a size profile.


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 size profile.


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: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see    about_CommonParameters.

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 size profile by using a name

This command gets the size profile named ContosoSizeProfile07.


PS C:\> Get-WAPackVMSizeProfile -Name "ContosoSizeProfile07"

Example 2: Get a size profile by using an ID

This command gets the size profile that has the specified ID.


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

Example 3: Get all size profiles

This command gets all the size profiles.


PS C:\> Get-WAPackVMSizeProfile

Related topics

Show:
© 2016 Microsoft