Set-AzureRmDataLakeAnalyticsCatalogCredential
Syntax
Set-AzureRmDataLakeAnalyticsCatalogCredential
[-Account] <String>
[-CredentialName] <String>
[-DatabaseName] <String>
[-Credential] <PSCredential>
[-NewPassword] <PSCredential>
[-DatabaseHost] <String>
[-Port] <Int32>
[-Confirm]
[-WhatIf]
[<CommonParameters>]
Set-AzureRmDataLakeAnalyticsCatalogCredential
[-Account] <String>
[-CredentialName] <String>
[-DatabaseName] <String>
[-Credential] <PSCredential>
[-NewPassword] <PSCredential>
[-Uri] <Uri>
[-Confirm]
[-WhatIf]
[<CommonParameters>]
Description
The Set-AzureRmDataLakeAnalyticsCatalogCredential cmdlet modifies a credential password associated with an Azure Data Lake Analytics catalog.
Examples
Example 1: Modify a credential's password associated with an account
PS C:\> Set-AzureRmDataLakeAnalyticsCatalogCredential -AccountName "ContosoAdlAccount" `
-DatabaseName "databaseName" `
-CredentialName "credName" `
-Credential (Get-Credential) `
-NewPassword (Get-Credential) `
-Host "example.contoso.com" -Port 8080
This command sets the credential password to the password specified in NewPassword.
Required Parameters
Specifies the Data Lake Analytics account name.
| Type: | String |
| Aliases: | AccountName |
| Position: | 0 |
| Default value: | None |
| Accept pipeline input: | True (ByPropertyName) |
| Accept wildcard characters: | False |
Specifies the name and current password of the credential to modify.
| Type: | PSCredential |
| Position: | 2 |
| Default value: | None |
| Accept pipeline input: | True (ByPropertyName) |
| Accept wildcard characters: | False |
Specifies the name of the credential to modify
| Type: | String |
| Position: | 1 |
| Default value: | None |
| Accept pipeline input: | True (ByPropertyName) |
| Accept wildcard characters: | False |
Specifies the host name of the external data source the credential can connect to in the format mydatabase.contoso.com.
| Type: | String |
| Position: | 4 |
| Default value: | None |
| Accept pipeline input: | True (ByPropertyName) |
| Accept wildcard characters: | False |
Specifies the name of the database in the Data Lake Analytics account holding the credential.
| Type: | String |
| Position: | 1 |
| Default value: | None |
| Accept pipeline input: | True (ByPropertyName) |
| Accept wildcard characters: | False |
Specifies the new password for the credential
| Type: | PSCredential |
| Position: | 3 |
| Default value: | None |
| Accept pipeline input: | True (ByPropertyName) |
| Accept wildcard characters: | False |
Specifies the port number used to connect to the specified DatabaseHost using this credential.
| Type: | Int32 |
| Position: | 5 |
| Default value: | None |
| Accept pipeline input: | True (ByPropertyName) |
| Accept wildcard characters: | False |
Specifies the full Uniform Resource Identifier (URI) of the external data source this credential can connect to.
| Type: | Uri |
| Position: | 4 |
| Default value: | None |
| Accept pipeline input: | True (ByPropertyName) |
| Accept wildcard characters: | False |
Optional Parameters
Prompts you for confirmation before running the cmdlet.
| Type: | SwitchParameter |
| Aliases: | cf |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
| Type: | SwitchParameter |
| Aliases: | wi |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Outputs
None