Use PowerShell : Moves an item from one location to another

Published: 01 October 2016
on channel: microsoft lab
2,962
14

Donate Us : paypal.me/MicrosoftLab

Use PowerShell - Moves an item from one location to another

1. Prepare

DC18 : OS Windows Server 2012 R2

Syntax : Move-Item

Move-Item [-Path] string[] [[-Destination] string] [-Force] [-Filter string] [-Include string[]] [-Exclude string[]]

[-PassThru] [-Credential pscredential] [-WhatIf] [-Confirm] [-UseTransaction] [CommonParameters]

Move-Item [[-Destination] string] -LiteralPath string[] [-Force] [-Filter string] [-Include string[]]

[-Exclude string[]] [-PassThru] [-Credential pscredential] [-WhatIf] [-Confirm] [-UseTransaction] [CommonParameters]

2. Step by step

DC18 :

Click Windows PowerShell :

Move-Item -Path E:\iso\WindowsXPProfessionalSP232-Bit.ISO F:\xp.iso # Move and rename file WindowsXPProfessionalSP232-Bit.ISO to xp.iso

Move-Item -Path E:\iso F:\ # Move folder iso from E: to F:

Check again


Watch video Use PowerShell : Moves an item from one location to another online, duration hours minute second in high quality that is uploaded to the channel microsoft lab 01 October 2016. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 2,962 times and liked it 14 visitors.