Copy, Move, Delete files with PowerShell

preview_player
Показать описание
In this video, we get back to the basics of working with files on the filesystem using PowerShell. We look at some aliases, copy files, move files, and remove files. We also look at how network file shares roll into the fold. Fun, foundational stuff.

Cmdlets covered:
* copy-file
* move-file
* remove-file

Рекомендации по теме
Комментарии
Автор

Shane, as an absolute rookie to PowerShell, your videos are fantastic, keep them coming

butchgavaletz
Автор

Shane, please consider making a video about when to use brackets, double brackets, parenthesis, double parenthesis, comas, gets confusing for beginners

robbybaggio
Автор

Great videos Shane. I'm a senior Web Developer, but a total noob when it comes to PowerShell... Your videos are really clear and concise... I'm looking forward to using PS to improve my builds and workflow... I should have got into this years ago! Good work... Cheers!

mrclaytron
Автор

By far the best powershell training video on youtube! Very clear and understandable. Hats off to Shane!

ersinbostanc
Автор

Another great tutorial. The length and complexity was just right for me. Thanks.

mikeg
Автор

Thanks Shane. In particular for the remove-item with a * at the end. Helped me delete all subfolders using -recurse -force

philipjacob
Автор

Remember the old DOS NORTON COMMANDER? I loved that Directory/File management system back in the day!

BigDawgCleveland
Автор

Hey Shane Thank you am a pentester, your videos are priceless!! i can now navigate through windows systems. am from unix based terminals.

fluidman
Автор

Loving this PS series. Very informative and easy to follow, I appreciate your hard work!

andrewsmith
Автор

Shane Young enjoyed another session, so many questions but first let's start with the kudos, after all I can see that some effort was put into this session for such a good presentation. The fact that you don't bash or assume anything about your audience is super user great stuff. I want to drop a bit for the pipeline, I am an old guy, been around for a minute consumed as much data as I could on my ms pursuit, the start-transcript days for me 286, 386, 486, DOS, 3.1, 4.0 days. You get the picture. Almost like the picture show "Castaway" Tom Hanks, where he was on top of his game with Fed Ex, crash landed, fell out of the cloud for a minute. Well I'm that guy and I am meshing the networking together for a back to the future experience. So, great show you made reference to some of the stuff like DOS to powershell, how much of the old tech scraps are still in viable use? What would be a fast track to fill in the nuggets approach would you take and is it possible to use powershell to communicate to onedrive, If so, how? Do you have a complete series of the Vids?

thunderthreads
Автор

OMG! this is such a life saver. Thank you so much for this explanation, I'm getting started on my studies in computer science and I was looking for video that I could understand on how to go about using PowerShell and this is yet the best one. I love it. Ill most defiantly be using your videos to come back and understand whatever is being thought at school.

jennyteul
Автор

Hey Shane your videos shares good info, Can you provide the solution or your views on the below -
Step 1: Delete the folder A from drive D.
Step 2: Copy the folder B from Drive C to Drive D.
Step 3: After copying the folder from Drive C to Drive D, compare the size of the folder B in Drive D and folder B in Drive (To ensure the complete file moves or not, size of file will be GB or TB).
Step 4: Delete the folder B from Drive C.

sriniqatestengg
Автор

hi Shane, thank you for sharing your knowledge with all of us. most appreciated, and i hope and wish you folks are doing good.
i request you to share a tutorial about information on working with remote computers when trying to copy a folder from a local machine to multiple target servers. i am a bit confused about how to pass on the remote directory variable.

maverickable
Автор

Thanks, Shane I've really enjoyed and found useful the series so far.

Dannywwalker
Автор

here's a beast of a task for you Shane, i am trying to create a powershell script which connects to a table in a database, the table contains 3 columns, filename, sourcepath and destination path, the powershell script reads these values from the table(stores them in an array perhaps?). It reads the sourcepath (folder location), it goes to the source folder and depending on the filename it determines the destination(folder location) it is moved into, all the while writing to a log table and capturing the errors. There's a lesson video for you. cheers.

libofsharaku
Автор

start-transcript alone is very useful especially for new users who may have done something good but forget how they did it

dg-hughes
Автор

Thanks for the video Shane! I tried to do the copy-item with -recurse, but it doesn't work. The newer file copied over the old file. Any suggestions?

mayatrac
Автор

Amazing video ...Thanks a lot Shane

Could you make a video to automate AutoCAD or any programs with PowerShell?

alessiocicillini
Автор

Thank you for the video. You have a great talent to teach! Have a wonderful day!

natikrak
Автор

this is just wonderful! thank you very much, Shane!!! just what I was looking for.

OnixEdge
visit shbcf.ru