none
Confused about how to delete just the items in a folder on C Drive RRS feed

  • Question

  • I'm a newbie with the powershell coding I'm trying to write a small powershell script to delete items that are in a folder on the C drive ..  C:\temp 

    As I have another set of code that place the documents in that folder and then move it to another application, once moved then I want to delete the files...

    I have

    Remove-Item -Path C:\Temp

    it throws an error when I run the PS ISE for testing.  I only want the items in the folder delete. So I'm guess that would mean Child-items???

    Tuesday, July 7, 2015 9:18 PM

Answers

All replies