I'm using the comobject shell.application to browse a folder.
The folder to browse has old and new content and I was wondering if can filter the output to only show the new content.
New content is recognizable by all subfolder that begin with 'companyname_' where companyname is the name of the company, old folders don't have the '_' after 'Companyname'.
$object = new-object -comobject shell.application $FolderBrowser = $object.BrowseForFolder(0,"Rootfolder location",808,$Sourcefolder)
Where $sourcefolder is the path to the folder.
Would be a great help if this is possible, the source folder has a lot of content that cannot be moved or copied.