The cmdlet Measure-Command will test and evaluate your code to make sure it's as optimal as can be. As a PowerShell scripter for a long time, I've since graduated from how to write code to get the job ...
If you're a PowerShell user and a fan of the Integrated Scripting Environment (ISE), you now have the option to flick on ISE mode in Microsoft's Visual Studio Code (VS Code) cross-platform ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results