Get-SCAzureProfile

Gets Azure Profile objects from the Virtual Machine Manager (VMM) library.

Syntax

Get-SCAzureProfile
   [-VMMServer <ServerConnection>]
   [-ID <Guid>]
   [[-Name] <String>]
   [-OnBehalfOfUser <String>]
   [-OnBehalfOfUserRole <UserRole>]
   [<CommonParameters>]

Description

The Get-SCAzureProfile cmdlet gets one or more azure profile objects from the Virtual Machine Manager (VMM) database.

Examples

Example 1

PS C:> Get-SCAzureProfile

Gets all Azure profile objects in VMM database.

Example 2

PS C:> Get-SCAzureProfile | Format-List -Property Name, ProfileType, SubscriptionId, CloudProvider

Gets all Azure profile objects and display information about specific properties.

Example 3

PS C:> Get-SCAzureProfile -Name azureProfileName

Gets an Azure profile by name.

Example 4

PS C:> Get-SCAzureProfile -ID azureProfileID

Gets an Azure profile by ID.

Parameters

-ID

Specifies the unique ID for an object.

Type:Guid
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Name

Specifies the name for an object.

Type:String
Position:0
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-OnBehalfOfUser

Specifies a user name. This cmdlet operates on behalf of the user that this parameter specifies.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-OnBehalfOfUserRole

Specifies a user role. To obtain a user role, use the Get-SCUserRole cmdlet. This cmdlet operates on behalf of the user role that this parameter specifies.

Type:UserRole
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-VMMServer

Specifies a VMM server object.

Type:ServerConnection
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

Notes

This cmdlet returns an Azure Profile object.