title: Powershell remove items from specific folder in path (for all users)
body: <p>So I have this script. I enter a users username and it goes and looks in the given location using that username to remove all files fine the end directory.</p>
  
  <p>I now need to schedule this for all users now I have proved it works. How can i get this to go through all user folders in given location and then through the path to the end directory to remove the files. Not sure how I can modify this to remove the need for the users username.</p>
  
  <p>Any ideas?</p>
  
  <pre><code>"`n" 
  $user = Read-Host "Enter Username"
  write-Host "Finding" -ForegroundColor Green
  $filePath = "\\myserver\d$\userprofiles\$user\AppData\Roaming\app\app2\app3\$user" 
  "`n" 
  
  $Response = Read-Host "Do you want to delete the contents of the app directory for '$user' ?(Y/N)"
  if($Response -eq "Y"){
     get-childitem  $filepath -recurse | foreach ($_) {remove-item -verbose $_.fullname} 
  } else{
  Write-Host "No such user found or directory does not exist..."
  }
  
  write-Host "" 
  write-Host "------------Process Complete Files Removed--------------------" -ForegroundColor DarkGreen
  </code></pre>
  
  <p>Thanks in advance.</p>