Synchronous code execution is fine for small scripts, but for more time-consuming scripts, consider running your code in the background as a job. Here's how. There are two kinds of ways PowerShell ...
Results that may be inaccessible to you are currently showing.
Hide inaccessible results