< Back
Move-AzureRmDataLakeStoreItem
Post
NAME Move-AzureRmDataLakeStoreItem
SYNOPSIS
Moves or renames a file or folder in Data Lake Store.
SYNTAX
Move-AzureRmDataLakeStoreItem [-Account] <String> [-Path] <DataLakeStorePathInstance> [-Destination] <DataLakeStorePathInstance> [[-Force]]
[-DefaultProfile <IAzureContextContainer>] [-Confirm] [-WhatIf] [<CommonParameters>]
DESCRIPTION
The Move-AzureRmDataLakeStoreItem cmdlet moves or renames a file or folder in Data Lake Store.
PARAMETERS
-Account <String>
Specifies the name of the Data Lake Store account.
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with azure.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Destination <DataLakeStorePathInstance>
Specifies the Data Lake Store path to which to move the item, starting with the root directory (/).
Required? true
Position? 2
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Force [<SwitchParameter>]
Indicates that this operation can overwrite the destination file if it already exists.
Required? false
Position? 3
Default value False
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Path <DataLakeStorePathInstance>
Specifies the Data Lake Store path of the item to move or rename, starting with the root directory (/).
Required? true
Position? 1
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Prompts you for confirmation before running the cmdlet.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
None
This cmdlet does not accept any input.
OUTPUTS
string
The full path to the moved file or folder.
NOTES
Example 1: Move and rename an item
PS C:\\>Move-AzureRmDataLakeStoreItem -AccountName "ContosoADL" -Path "/Original/Path/File.txt" -Destination "/New/Path/RenamedFile.txt"
This command renames the item File.txt to RenamedFile.txt and moves it to a different folder.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... estoreitem
Get-AzureRmDataLakeStoreItem
Export-AzureRmDataLakeStoreItem
Import-AzureRmDataLakeStoreItem
New-AzureRmDataLakeStoreItem
Remove-AzureRmDataLakeStoreItem
Test-AzureRmDataLakeStoreItem
SYNOPSIS
Moves or renames a file or folder in Data Lake Store.
SYNTAX
Move-AzureRmDataLakeStoreItem [-Account] <String> [-Path] <DataLakeStorePathInstance> [-Destination] <DataLakeStorePathInstance> [[-Force]]
[-DefaultProfile <IAzureContextContainer>] [-Confirm] [-WhatIf] [<CommonParameters>]
DESCRIPTION
The Move-AzureRmDataLakeStoreItem cmdlet moves or renames a file or folder in Data Lake Store.
PARAMETERS
-Account <String>
Specifies the name of the Data Lake Store account.
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with azure.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Destination <DataLakeStorePathInstance>
Specifies the Data Lake Store path to which to move the item, starting with the root directory (/).
Required? true
Position? 2
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Force [<SwitchParameter>]
Indicates that this operation can overwrite the destination file if it already exists.
Required? false
Position? 3
Default value False
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Path <DataLakeStorePathInstance>
Specifies the Data Lake Store path of the item to move or rename, starting with the root directory (/).
Required? true
Position? 1
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Prompts you for confirmation before running the cmdlet.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
None
This cmdlet does not accept any input.
OUTPUTS
string
The full path to the moved file or folder.
NOTES
Example 1: Move and rename an item
PS C:\\>Move-AzureRmDataLakeStoreItem -AccountName "ContosoADL" -Path "/Original/Path/File.txt" -Destination "/New/Path/RenamedFile.txt"
This command renames the item File.txt to RenamedFile.txt and moves it to a different folder.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... estoreitem
Get-AzureRmDataLakeStoreItem
Export-AzureRmDataLakeStoreItem
Import-AzureRmDataLakeStoreItem
New-AzureRmDataLakeStoreItem
Remove-AzureRmDataLakeStoreItem
Test-AzureRmDataLakeStoreItem