mealyman

Results 4 comments of mealyman

> The work around would be to rename the file removing brackets `[]()` before using `Import-Excel` > > ```powershell > $newname = Rename-Item -LiteralPath -NewName (split-path ( -replace '[\[\]\(\)]') -leaf)...

I've modified my code based on what @scriptingstudio provided, and it's working. Thanks for the insights!

> > Noted, however, doesn't even seem to work now if I have only underscores in the filename. > > It did not work because `Rename-Item` returned `null` because the...

Got it! For some reason, it didn't download correctly the first time. Thanks!