Get-​Azure​RM​Managed​Subscription

This enables service administrator to get the tenant target subscription id

Syntax

Get-AzureRMManagedSubscription
   [-InformationAction <ActionPreference>]
   [-InformationVariable <String>]
   [-PipelineVariable <String>]
   [-TargetSubscriptionId <Guid>]
   [<CommonParameters>]

Description

This enables service administrator to get the tenant target subscription id

Examples

Example 1:

Get-AzureRMManagedSubscription -TargetSubscriptionId "2fff214f-8589-4d25-b468-dc99320724bc"

Description

-----------

The example gets the target subscription id. Login as service administrator before issuing this command

Optional Parameters

-InformationAction

Not SpecifiedThe following values are permitted for this object type.

Type:ActionPreference
Aliases:infa
Parameter Sets:SilentlyContinue, Stop, Continue, Inquire
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InformationVariable

Not Specified

Type:String
Aliases:iv
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PipelineVariable

Not Specified

Type:String
Aliases:pv
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-TargetSubscriptionId

The target subscription id of the tenant user

Type:Guid
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Outputs

Microsoft.AzureStack.Management.Models.SubscriptionDefinition