Add-AzDataLakeStoreItemContent
Adds content to an item in a Data Lake Store.
Syntax
Default (Default)
Add-AzDataLakeStoreItemContent
[-Account] <String>
[-Path] <DataLakeStorePathInstance>
[-Value] <Object>
[[-Encoding] <Encoding>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
The Add-AzDataLakeStoreItemContent cmdlet adds content to an item in an Azure Data Lake Store.
Examples
Example 1: Add content to a file
Add-AzDataLakeStoreItemContent -AccountName "ContosoADLS" -Path /abc/myFile.txt -Value "My content here"
This command adds content to the file myFile.txt.
Parameters
-Account
Specifies the name of the Data Lake Store account.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Aliases: AccountName
Parameter sets
(All)
Position: 0
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: True
Value from remaining arguments: False
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with azure
Parameter properties
Type: IAzureContextContainer
Default value: None
Supports wildcards: False
DontShow: False
Aliases: AzContext, AzureRmContext, AzureCredential
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-Encoding
Specifies the encoding for the item to create.
The acceptable values for this parameter are:
Unknown
String
Unicode
Byte
BigEndianUnicode
UTF8
UTF7
Ascii
Default
Oem
BigEndianUTF32
Parameter properties
Type: Encoding
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: 3
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: True
Value from remaining arguments: False
-Path
Specifies the Data Lake Store path of the item to modify, starting with the root directory (/).
Parameter properties
Parameter sets
(All)
Position: 1
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: True
Value from remaining arguments: False
-Value
Specifies the content to add to the item.
Parameter properties
Type: Object
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: 2
Mandatory: True
Value from pipeline: True
Value from pipeline by property name: True
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 .
Outputs