ChatGPT can create PowerShell scripts for you. These proof-of-concept examples show how to find large files, list installed ...
Microsoft fixed the path limit years ago. You just have to switch it on.