Hi Guys,
Sorry if this does not make sense...
A bit of background first, I have a software which runs off a SQL Server. The software will send windows objects such as docx and msgs to Windows directory folder on the same or separate server; an entry is made in the SQL database with a guid to show that an object has been stored and can be located by the software.
I wish to delete a large number of theses files, I would like to locate the files on the Storage server with Powershell but my selection needs to be based on an SQL query so that I can select items based on row values.
Has anyone managed to achieve this before?