Is there a way in PowerShell that I can find all files in a directory?
<p>I have this code:</p>

<pre><code>Write-S3Object `
   -BucketName "abilitest-user-staging" `
   -Key  "content/bundles/$filename" `
   -File "content/bundles/$filename" `
   -HeaderCollection @{"Cache-Control" = "public,max-age=1200"}
</code></pre>

<p>Is there a way that I could make PowerShell loop through all the files in the content/bundles directory and repeatedly execute this code with the name of each file substituted in where I now have $filename?</p>