New-​Azure​Profile

Syntax

New-AzureProfile
   -AccessToken <String>
   -AccountId <String>
   [-Environment <AzureEnvironment>]
   [-StorageAccount <String>]
   -SubscriptionId <String>
   [<CommonParameters>]
New-AzureProfile
   -Certificate <X509Certificate2>
   [-Environment <AzureEnvironment>]
   [-StorageAccount <String>]
   -SubscriptionId <String>
   [<CommonParameters>]
New-AzureProfile
   -Credential <PSCredential>
   [-Environment <AzureEnvironment>]
   [-ServicePrincipal]
   [-StorageAccount <String>]
   -SubscriptionId <String>
   -Tenant <String>
   [<CommonParameters>]
New-AzureProfile
   -Credential <PSCredential>
   [-Environment <AzureEnvironment>]
   [-StorageAccount <String>]
   -SubscriptionId <String>
   [-Tenant <String>]
   [<CommonParameters>]
New-AzureProfile
   [-Environment <AzureEnvironment>]
   [<CommonParameters>]
New-AzureProfile
   -Path <String>
   [<CommonParameters>]
New-AzureProfile
   -Properties <Hashtable>
   [<CommonParameters>]

Examples

1:

PS C:\>

Required Parameters

-AccessToken
Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-AccountId
Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Certificate
Type:X509Certificate2
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-Credential
Type:PSCredential
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Path
Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Properties
Type:Hashtable
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ServicePrincipal
Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-SubscriptionId
Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Tenant
Type:String
Aliases:TenantId
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-Environment
Type:AzureEnvironment
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-StorageAccount
Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False