Search for word in all scripts

2 votes

avatar

Hi.
We often need to find all scripts containing a specific word or phrase, for example all scripts that do "import-module module-x" or that uses "$secret:whatevercredentials". We haven't found any way to do this in PSU, so our current workaround is to start a NP++ directly on the server and do a "Find in files" on the repository folder. This works well, but being able to do this directly in the PSU interface of course would be much better. Would that be possible to implement?

/Daniel

All Comments (1)

avatar

@daniel2 That's a good idea! I've opened an issue for it.

Adam Driscoll
PowerShell Expert and Software Architect at Devolutions