Get-SCAzureProfile
Gets Azure Profile objects from the Virtual Machine Manager (VMM) library.
[!Note] Azure Profiles and Azure subscriptions are discontinued from System Center Virtual Machine Manager 2025.
Syntax
Default (Default)
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.
Parameter properties
| Type: | Guid |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-Name
Specifies the name for an object.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | 0 |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-OnBehalfOfUser
Specifies a user name. This cmdlet operates on behalf of the user that this parameter specifies.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | 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.
Parameter properties
| Type: | UserRole |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-VMMServer
Specifies a VMM server object.
Parameter properties
| Type: | ServerConnection |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | True |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Notes
This cmdlet returns an Azure Profile object.