Hot answers tagged

2 votes

PowerShell to query SQL database with a string from a filename

For starters, your loop has data type issues. $Files is a collection of FileInfo objects. You didn't show your output but I'd assume it's null or gibberish. ...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible