Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

How do I search for files with certain extensions and move them to different folder using PowerShell?

share|improve this question
5  
Next time, please put some effort into solving this yourself before you post here and when you do, post what code you currently have and what about it doesn't work. –  MDMarra Sep 20 '12 at 15:06
add comment

closed as not constructive by Sirex, mailq, HopelessN00b Genius of network, rnxrx, Michael Hampton Sep 25 '12 at 23:40

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer

The cmdlets that you're looking for are Get-ChildItem and Move-Item. You can read how they work by running Get-Help Get-ChildItem -full and Get-Help Move-Item -full

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.