This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Grabs the path you wish to search | |
$getPath = Read-Host "What is the path you would like to search (example: c:\temp)" | |
#recursively searches through a path and grabs the data streams | |
$getItem = Get-ChildItem -Path $getPath -Recurse | Get-Item -Stream * | |
foreach($item in $getItem) { |