Modifier

Partager via


Test-AzDataLakeAnalyticsAccount

Checks for the existence of a Data Lake Analytics account.

Syntax

Test-AzDataLakeAnalyticsAccount
    [-Name] <String>
    [[-ResourceGroupName] <String>]
    [-DefaultProfile <IAzureContextContainer>]
    [<CommonParameters>]

Description

The Test-AzDataLakeAnalyticsAccount cmdlet checks for the existence of a Data Lake Analytics account.

Examples

Example 1: Test whether an account exists

Test-AzDataLakeAnalyticsAccount -Name "ContosoAdlAccount"

This command tests whether the account named ContosoAdlAccount exists.

Parameters

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with azure

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Name

Specifies the Data Lake Analytics account name.

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

-ResourceGroupName

Specifies the resource group name of the Data Lake Analytics account.

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

Inputs

String

Outputs

Boolean